Autogenerated update (2020-07-01)

Update:
- cloudidentity_v1beta1
- dataflow_v1b3
- dataproc_v1
- dataproc_v1beta2
- dialogflow_v2
- dialogflow_v2beta1
- managedidentities_v1
- managedidentities_v1alpha1
- managedidentities_v1beta1
- ml_v1
This commit is contained in:
Google APIs 2020-07-01 00:38:11 +00:00
parent f136f456ff
commit fe73ddc884
37 changed files with 1332 additions and 115 deletions

View File

@ -20505,6 +20505,7 @@
"/cloudidentity:v1beta1/Membership/preferredMemberKey": preferred_member_key
"/cloudidentity:v1beta1/Membership/roles": roles
"/cloudidentity:v1beta1/Membership/roles/role": role
"/cloudidentity:v1beta1/Membership/type": type
"/cloudidentity:v1beta1/Membership/updateTime": update_time
"/cloudidentity:v1beta1/MembershipAdjacencyList": membership_adjacency_list
"/cloudidentity:v1beta1/MembershipAdjacencyList/edges": edges
@ -56980,6 +56981,8 @@
"/dataflow:v1b3/LaunchFlexTemplateParameter/containerSpec": container_spec
"/dataflow:v1b3/LaunchFlexTemplateParameter/containerSpecGcsPath": container_spec_gcs_path
"/dataflow:v1b3/LaunchFlexTemplateParameter/jobName": job_name
"/dataflow:v1b3/LaunchFlexTemplateParameter/launchOptions": launch_options
"/dataflow:v1b3/LaunchFlexTemplateParameter/launchOptions/launch_option": launch_option
"/dataflow:v1b3/LaunchFlexTemplateParameter/parameters": parameters
"/dataflow:v1b3/LaunchFlexTemplateParameter/parameters/parameter": parameter
"/dataflow:v1b3/LaunchFlexTemplateRequest": launch_flex_template_request
@ -57486,6 +57489,7 @@
"/dataflow:v1b3/WorkItem/streamingConfigTask": streaming_config_task
"/dataflow:v1b3/WorkItem/streamingSetupTask": streaming_setup_task
"/dataflow:v1b3/WorkItemServiceState": work_item_service_state
"/dataflow:v1b3/WorkItemServiceState/completeWorkStatus": complete_work_status
"/dataflow:v1b3/WorkItemServiceState/harnessData": harness_data
"/dataflow:v1b3/WorkItemServiceState/harnessData/harness_datum": harness_datum
"/dataflow:v1b3/WorkItemServiceState/hotKeyDetection": hot_key_detection
@ -59078,6 +59082,9 @@
"/dataproc:v1beta2/WorkflowMetadata/clusterName": cluster_name
"/dataproc:v1beta2/WorkflowMetadata/clusterUuid": cluster_uuid
"/dataproc:v1beta2/WorkflowMetadata/createCluster": create_cluster
"/dataproc:v1beta2/WorkflowMetadata/dagEndTime": dag_end_time
"/dataproc:v1beta2/WorkflowMetadata/dagStartTime": dag_start_time
"/dataproc:v1beta2/WorkflowMetadata/dagTimeout": dag_timeout
"/dataproc:v1beta2/WorkflowMetadata/deleteCluster": delete_cluster
"/dataproc:v1beta2/WorkflowMetadata/endTime": end_time
"/dataproc:v1beta2/WorkflowMetadata/graph": graph
@ -59096,6 +59103,7 @@
"/dataproc:v1beta2/WorkflowNode/stepId": step_id
"/dataproc:v1beta2/WorkflowTemplate": workflow_template
"/dataproc:v1beta2/WorkflowTemplate/createTime": create_time
"/dataproc:v1beta2/WorkflowTemplate/dagTimeout": dag_timeout
"/dataproc:v1beta2/WorkflowTemplate/id": id
"/dataproc:v1beta2/WorkflowTemplate/jobs": jobs
"/dataproc:v1beta2/WorkflowTemplate/jobs/job": job
@ -79646,6 +79654,7 @@
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessage/humanAgentHandoff": human_agent_handoff
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessage/liveAgentHandoff": live_agent_handoff
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessage/mixedAudio": mixed_audio
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessage/outputAudioText": output_audio_text
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessage/payload": payload
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessage/payload/payload": payload
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessage/playAudio": play_audio
@ -79667,6 +79676,9 @@
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment/allowPlaybackInterruption": allow_playback_interruption
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment/audio": audio
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment/uri": uri
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText": google_cloud_dialogflow_cx_v3beta1_response_message_output_audio_text
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText/ssml": ssml
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText/text": text
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio": google_cloud_dialogflow_cx_v3beta1_response_message_play_audio
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio/allowPlaybackInterruption": allow_playback_interruption
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio/audioUri": audio_uri
@ -80841,6 +80853,7 @@
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/humanAgentHandoff": human_agent_handoff
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/liveAgentHandoff": live_agent_handoff
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/mixedAudio": mixed_audio
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/outputAudioText": output_audio_text
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/payload": payload
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/payload/payload": payload
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/playAudio": play_audio
@ -80862,6 +80875,9 @@
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment/allowPlaybackInterruption": allow_playback_interruption
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment/audio": audio
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment/uri": uri
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText": google_cloud_dialogflow_cx_v3beta1_response_message_output_audio_text
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText/ssml": ssml
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText/text": text
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio": google_cloud_dialogflow_cx_v3beta1_response_message_play_audio
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio/allowPlaybackInterruption": allow_playback_interruption
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio/audioUri": audio_uri
@ -82636,6 +82652,9 @@
"/dialogflow:v2beta1/dialogflow.projects.locations.agent.sessions.entityTypes.patch/updateMask": update_mask
"/dialogflow:v2beta1/dialogflow.projects.locations.agent.train": train_project_location_agent
"/dialogflow:v2beta1/dialogflow.projects.locations.agent.train/parent": parent
"/dialogflow:v2beta1/dialogflow.projects.locations.agent.updateFulfillment": update_project_location_agent_fulfillment
"/dialogflow:v2beta1/dialogflow.projects.locations.agent.updateFulfillment/name": name
"/dialogflow:v2beta1/dialogflow.projects.locations.agent.updateFulfillment/updateMask": update_mask
"/dialogflow:v2beta1/dialogflow.projects.locations.deleteAgent": delete_project_location_agent
"/dialogflow:v2beta1/dialogflow.projects.locations.deleteAgent/parent": parent
"/dialogflow:v2beta1/dialogflow.projects.locations.getAgent": get_project_location_agent
@ -97348,6 +97367,65 @@
"/gmail:v1/key": key
"/gmail:v1/quotaUser": quota_user
"/gmail:v1/userIp": user_ip
"/gmailpostmastertools:v1beta1/DeliveryError": delivery_error
"/gmailpostmastertools:v1beta1/DeliveryError/errorClass": error_class
"/gmailpostmastertools:v1beta1/DeliveryError/errorRatio": error_ratio
"/gmailpostmastertools:v1beta1/DeliveryError/errorType": error_type
"/gmailpostmastertools:v1beta1/Domain": domain
"/gmailpostmastertools:v1beta1/Domain/createTime": create_time
"/gmailpostmastertools:v1beta1/Domain/name": name
"/gmailpostmastertools:v1beta1/Domain/permission": permission
"/gmailpostmastertools:v1beta1/FeedbackLoop": feedback_loop
"/gmailpostmastertools:v1beta1/FeedbackLoop/id": id
"/gmailpostmastertools:v1beta1/FeedbackLoop/spamRatio": spam_ratio
"/gmailpostmastertools:v1beta1/IpReputation": ip_reputation
"/gmailpostmastertools:v1beta1/IpReputation/numIps": num_ips
"/gmailpostmastertools:v1beta1/IpReputation/reputation": reputation
"/gmailpostmastertools:v1beta1/IpReputation/sampleIps": sample_ips
"/gmailpostmastertools:v1beta1/IpReputation/sampleIps/sample_ip": sample_ip
"/gmailpostmastertools:v1beta1/ListDomainsResponse": list_domains_response
"/gmailpostmastertools:v1beta1/ListDomainsResponse/domains": domains
"/gmailpostmastertools:v1beta1/ListDomainsResponse/domains/domain": domain
"/gmailpostmastertools:v1beta1/ListDomainsResponse/nextPageToken": next_page_token
"/gmailpostmastertools:v1beta1/ListTrafficStatsResponse": list_traffic_stats_response
"/gmailpostmastertools:v1beta1/ListTrafficStatsResponse/nextPageToken": next_page_token
"/gmailpostmastertools:v1beta1/ListTrafficStatsResponse/trafficStats": traffic_stats
"/gmailpostmastertools:v1beta1/ListTrafficStatsResponse/trafficStats/traffic_stat": traffic_stat
"/gmailpostmastertools:v1beta1/TrafficStats": traffic_stats
"/gmailpostmastertools:v1beta1/TrafficStats/deliveryErrors": delivery_errors
"/gmailpostmastertools:v1beta1/TrafficStats/deliveryErrors/delivery_error": delivery_error
"/gmailpostmastertools:v1beta1/TrafficStats/dkimSuccessRatio": dkim_success_ratio
"/gmailpostmastertools:v1beta1/TrafficStats/dmarcSuccessRatio": dmarc_success_ratio
"/gmailpostmastertools:v1beta1/TrafficStats/domainReputation": domain_reputation
"/gmailpostmastertools:v1beta1/TrafficStats/inboundEncryptionRatio": inbound_encryption_ratio
"/gmailpostmastertools:v1beta1/TrafficStats/ipReputations": ip_reputations
"/gmailpostmastertools:v1beta1/TrafficStats/ipReputations/ip_reputation": ip_reputation
"/gmailpostmastertools:v1beta1/TrafficStats/name": name
"/gmailpostmastertools:v1beta1/TrafficStats/outboundEncryptionRatio": outbound_encryption_ratio
"/gmailpostmastertools:v1beta1/TrafficStats/spammyFeedbackLoops": spammy_feedback_loops
"/gmailpostmastertools:v1beta1/TrafficStats/spammyFeedbackLoops/spammy_feedback_loop": spammy_feedback_loop
"/gmailpostmastertools:v1beta1/TrafficStats/spfSuccessRatio": spf_success_ratio
"/gmailpostmastertools:v1beta1/TrafficStats/userReportedSpamRatio": user_reported_spam_ratio
"/gmailpostmastertools:v1beta1/fields": fields
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.get": get_domain
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.get/name": name
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.list": list_domains
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.list/pageSize": page_size
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.list/pageToken": page_token
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.get": get_domain_traffic_stat
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.get/name": name
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.list": list_domain_traffic_stats
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.list/endDate.day": end_date_day
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.list/endDate.month": end_date_month
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.list/endDate.year": end_date_year
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.list/pageSize": page_size
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.list/pageToken": page_token
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.list/parent": parent
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.list/startDate.day": start_date_day
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.list/startDate.month": start_date_month
"/gmailpostmastertools:v1beta1/gmailpostmastertools.domains.trafficStats.list/startDate.year": start_date_year
"/gmailpostmastertools:v1beta1/key": key
"/gmailpostmastertools:v1beta1/quotaUser": quota_user
"/groupsmigration:v1/Groups": groups
"/groupsmigration:v1/Groups/kind": kind
"/groupsmigration:v1/Groups/responseCode": response_code
@ -103648,6 +103726,7 @@
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames/maintenance_policy_name": maintenance_policy_name
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules": maintenance_schedules
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules/maintenance_schedule": maintenance_schedule
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSettings": maintenance_settings
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/name": name
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata": producer_metadata
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata/producer_metadatum": producer_metadatum
@ -103665,6 +103744,8 @@
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/endTime": end_time
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/rolloutManagementPolicy": rollout_management_policy
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/startTime": start_time
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": google_cloud_saasaccelerator_management_providers_v1_maintenance_settings
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings/exclude": exclude
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions": exclusions
"/managedidentities:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions/exclusion": exclusion
@ -103886,6 +103967,7 @@
: maintenance_policy_name
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules": maintenance_schedules
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules/maintenance_schedule": maintenance_schedule
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSettings": maintenance_settings
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/name": name
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata": producer_metadata
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata/producer_metadatum": producer_metadatum
@ -103903,6 +103985,8 @@
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/endTime": end_time
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/rolloutManagementPolicy": rollout_management_policy
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/startTime": start_time
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": google_cloud_saasaccelerator_management_providers_v1_maintenance_settings
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings/exclude": exclude
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions": exclusions
"/managedidentities:v1alpha1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions/exclusion": exclusion
@ -104122,6 +104206,7 @@
: maintenance_policy_name
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules": maintenance_schedules
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules/maintenance_schedule": maintenance_schedule
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSettings": maintenance_settings
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/name": name
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata": producer_metadata
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata/producer_metadatum": producer_metadatum
@ -104139,6 +104224,8 @@
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/endTime": end_time
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/rolloutManagementPolicy": rollout_management_policy
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/startTime": start_time
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": google_cloud_saasaccelerator_management_providers_v1_maintenance_settings
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings/exclude": exclude
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions": exclusions
"/managedidentities:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions/exclusion": exclusion

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/
module CloudidentityV1beta1
VERSION = 'V1beta1'
REVISION = '20200622'
REVISION = '20200629'
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'

View File

@ -401,7 +401,7 @@ module Google
# @return [Array<String>]
attr_accessor :other_accounts
# Whether the device is owned by the company or an individual
# Output only. Whether the device is owned by the company or an individual
# Corresponds to the JSON property `ownerType`
# @return [String]
attr_accessor :owner_type
@ -1020,6 +1020,11 @@ module Google
# @return [Array<Google::Apis::CloudidentityV1beta1::MembershipRole>]
attr_accessor :roles
# Output only. The type of the membership.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
# Output only. The time when the `Membership` was last updated.
# Corresponds to the JSON property `updateTime`
# @return [String]
@ -1036,6 +1041,7 @@ module Google
@name = args[:name] if args.key?(:name)
@preferred_member_key = args[:preferred_member_key] if args.key?(:preferred_member_key)
@roles = args[:roles] if args.key?(:roles)
@type = args[:type] if args.key?(:type)
@update_time = args[:update_time] if args.key?(:update_time)
end
end

View File

@ -476,6 +476,7 @@ module Google
collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1beta1::MembershipRole, decorator: Google::Apis::CloudidentityV1beta1::MembershipRole::Representation
property :type, as: 'type'
property :update_time, as: 'updateTime'
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataflow
module DataflowV1b3
VERSION = 'V1b3'
REVISION = '20200507'
REVISION = '20200619'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2376,6 +2376,13 @@ module Google
# @return [String]
attr_accessor :job_name
# Launch options for this flex template job. This is a common set of options
# across languages and templates. This should not be used to pass job
# parameters.
# Corresponds to the JSON property `launchOptions`
# @return [Hash<String,String>]
attr_accessor :launch_options
# The parameters for FlexTemplate.
# Ex. `"num_workers":"5"`
# Corresponds to the JSON property `parameters`
@ -2391,6 +2398,7 @@ module Google
@container_spec = args[:container_spec] if args.key?(:container_spec)
@container_spec_gcs_path = args[:container_spec_gcs_path] if args.key?(:container_spec_gcs_path)
@job_name = args[:job_name] if args.key?(:job_name)
@launch_options = args[:launch_options] if args.key?(:launch_options)
@parameters = args[:parameters] if args.key?(:parameters)
end
end
@ -5887,6 +5895,16 @@ module Google
class WorkItemServiceState
include Google::Apis::Core::Hashable
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
# Corresponds to the JSON property `completeWorkStatus`
# @return [Google::Apis::DataflowV1b3::Status]
attr_accessor :complete_work_status
# Other data returned by the service, specific to the particular
# worker harness.
# Corresponds to the JSON property `harnessData`
@ -5948,6 +5966,7 @@ module Google
# Update properties of this object
def update!(**args)
@complete_work_status = args[:complete_work_status] if args.key?(:complete_work_status)
@harness_data = args[:harness_data] if args.key?(:harness_data)
@hot_key_detection = args[:hot_key_detection] if args.key?(:hot_key_detection)
@lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time)

View File

@ -1629,6 +1629,7 @@ module Google
property :container_spec_gcs_path, as: 'containerSpecGcsPath'
property :job_name, as: 'jobName'
hash :launch_options, as: 'launchOptions'
hash :parameters, as: 'parameters'
end
end
@ -2596,6 +2597,8 @@ module Google
class WorkItemServiceState
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :complete_work_status, as: 'completeWorkStatus', class: Google::Apis::DataflowV1b3::Status, decorator: Google::Apis::DataflowV1b3::Status::Representation
hash :harness_data, as: 'harnessData'
property :hot_key_detection, as: 'hotKeyDetection', class: Google::Apis::DataflowV1b3::HotKeyDetection, decorator: Google::Apis::DataflowV1b3::HotKeyDetection::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1
VERSION = 'V1'
REVISION = '20200611'
REVISION = '20200619'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -471,9 +471,9 @@ module Google
# Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
# such as Spark and MapReduce history files. If you do not specify a temp
# bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or
# EU) for your cluster's temp bucket according to the Compute Engine zone where
# your cluster is deployed, and then create and manage this project-level, per-
# bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for
# your cluster's temp bucket according to the Compute Engine zone where your
# cluster is deployed, and then create and manage this project-level, per-
# location bucket. The default bucket has a TTL of 90 days, but you can use any
# TTL (or none) if you specify a bucket.
# Corresponds to the JSON property `tempBucket`
@ -1641,7 +1641,8 @@ module Google
# @return [String]
attr_accessor :job_id
# Required. The ID of the Google Cloud Platform project that the job belongs to.
# Optional. The ID of the Google Cloud Platform project that the job belongs to.
# If specified, must match the request project ID.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
@ -3444,7 +3445,7 @@ module Google
# @return [String]
attr_accessor :name
# Optional. emplate parameters whose values are substituted into the template.
# Optional. Template parameters whose values are substituted into the template.
# Values for parameters must be provided when the template is instantiated.
# Corresponds to the JSON property `parameters`
# @return [Array<Google::Apis::DataprocV1::TemplateParameter>]

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1beta2
VERSION = 'V1beta2'
REVISION = '20200611'
REVISION = '20200619'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -476,9 +476,9 @@ module Google
# Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
# such as Spark and MapReduce history files. If you do not specify a temp
# bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or
# EU) for your cluster's temp bucket according to the Compute Engine zone where
# your cluster is deployed, and then create and manage this project-level, per-
# bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for
# your cluster's temp bucket according to the Compute Engine zone where your
# cluster is deployed, and then create and manage this project-level, per-
# location bucket. The default bucket has a TTL of 90 days, but you can use any
# TTL (or none) if you specify a bucket.
# Corresponds to the JSON property `tempBucket`
@ -1682,7 +1682,8 @@ module Google
# @return [String]
attr_accessor :job_id
# Required. The ID of the Google Cloud Platform project that the job belongs to.
# Optional. The ID of the Google Cloud Platform project that the job belongs to.
# If specified, must match the request project ID.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
@ -3430,6 +3431,25 @@ module Google
# @return [Google::Apis::DataprocV1beta2::ClusterOperation]
attr_accessor :create_cluster
# Output only. DAG end time, only set for workflows with dag_timeout when DAG
# ends.
# Corresponds to the JSON property `dagEndTime`
# @return [String]
attr_accessor :dag_end_time
# Output only. DAG start time, only set for workflows with dag_timeout when DAG
# begins.
# Corresponds to the JSON property `dagStartTime`
# @return [String]
attr_accessor :dag_start_time
# Output only. The timeout duration for the DAG of jobs. Minimum timeout
# duration is 10 minutes and maximum is 24 hours, expressed as a google.protobuf.
# Duration. For example, "1800" = 1800 seconds/30 minutes duration.
# Corresponds to the JSON property `dagTimeout`
# @return [String]
attr_accessor :dag_timeout
# The cluster operation triggered by a workflow.
# Corresponds to the JSON property `deleteCluster`
# @return [Google::Apis::DataprocV1beta2::ClusterOperation]
@ -3486,6 +3506,9 @@ module Google
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
@create_cluster = args[:create_cluster] if args.key?(:create_cluster)
@dag_end_time = args[:dag_end_time] if args.key?(:dag_end_time)
@dag_start_time = args[:dag_start_time] if args.key?(:dag_start_time)
@dag_timeout = args[:dag_timeout] if args.key?(:dag_timeout)
@delete_cluster = args[:delete_cluster] if args.key?(:delete_cluster)
@end_time = args[:end_time] if args.key?(:end_time)
@graph = args[:graph] if args.key?(:graph)
@ -3540,7 +3563,7 @@ module Google
end
end
# A Dataproc workflow template resource. Next ID: 11
# A Dataproc workflow template resource.
class WorkflowTemplate
include Google::Apis::Core::Hashable
@ -3549,6 +3572,12 @@ module Google
# @return [String]
attr_accessor :create_time
# Optional. Timeout for DAG of jobs. The timer begins when the first job is
# submitted. Minimum duration of 10 minutes, max of 24 hours.
# Corresponds to the JSON property `dagTimeout`
# @return [String]
attr_accessor :dag_timeout
# Required. The template id.The id must contain only letters (a-z, A-Z), numbers
# (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore
# or hyphen. Must consist of between 3 and 50 characters..
@ -3619,6 +3648,7 @@ module Google
# Update properties of this object
def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time)
@dag_timeout = args[:dag_timeout] if args.key?(:dag_timeout)
@id = args[:id] if args.key?(:id)
@jobs = args[:jobs] if args.key?(:jobs)
@labels = args[:labels] if args.key?(:labels)

View File

@ -1306,6 +1306,9 @@ module Google
property :cluster_uuid, as: 'clusterUuid'
property :create_cluster, as: 'createCluster', class: Google::Apis::DataprocV1beta2::ClusterOperation, decorator: Google::Apis::DataprocV1beta2::ClusterOperation::Representation
property :dag_end_time, as: 'dagEndTime'
property :dag_start_time, as: 'dagStartTime'
property :dag_timeout, as: 'dagTimeout'
property :delete_cluster, as: 'deleteCluster', class: Google::Apis::DataprocV1beta2::ClusterOperation, decorator: Google::Apis::DataprocV1beta2::ClusterOperation::Representation
property :end_time, as: 'endTime'
@ -1334,6 +1337,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :dag_timeout, as: 'dagTimeout'
property :id, as: 'id'
collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1beta2::OrderedJob, decorator: Google::Apis::DataprocV1beta2::OrderedJob::Representation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV2
VERSION = 'V2'
REVISION = '20200622'
REVISION = '20200627'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -236,6 +236,12 @@ module Google
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio]
attr_accessor :mixed_audio
# A text or ssml response that is preferentially used for TTS output audio
# synthesis, as described in the comment on the ResponseMessage message.
# Corresponds to the JSON property `outputAudioText`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText]
attr_accessor :output_audio_text
# Returns a response containing a custom, platform-specific payload.
# Corresponds to the JSON property `payload`
# @return [Hash<String,Object>]
@ -262,6 +268,7 @@ module Google
@human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
@payload = args[:payload] if args.key?(:payload)
@play_audio = args[:play_audio] if args.key?(:play_audio)
@text = args[:text] if args.key?(:text)
@ -433,6 +440,33 @@ module Google
end
end
# A text or ssml response that is preferentially used for TTS output audio
# synthesis, as described in the comment on the ResponseMessage message.
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
include Google::Apis::Core::Hashable
# The SSML text to be synthesized. For more information, see
# [SSML](/speech/text-to-speech/docs/ssml).
# Corresponds to the JSON property `ssml`
# @return [String]
attr_accessor :ssml
# The raw text to be synthesized.
# Corresponds to the JSON property `text`
# @return [String]
attr_accessor :text
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ssml = args[:ssml] if args.key?(:ssml)
@text = args[:text] if args.key?(:text)
end
end
# Specifies an audio clip to be played by the client as part of the response.
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
include Google::Apis::Core::Hashable
@ -3702,8 +3736,16 @@ module Google
# @return [String]
attr_accessor :query_text
# The result of sentiment analysis as configured by
# `sentiment_analysis_request_config`.
# The result of sentiment analysis. Sentiment analysis inspects user input
# and identifies the prevailing subjective opinion, especially to determine a
# user's attitude as positive, negative, or neutral.
# For Participants.AnalyzeContent, it needs to be configured in
# DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# StreamingDetectIntentRequest.query_params.
# And for Participants.AnalyzeContent and
# Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
# Corresponds to the JSON property `sentimentAnalysisResult`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult]
attr_accessor :sentiment_analysis_result
@ -3860,8 +3902,16 @@ module Google
end
end
# The result of sentiment analysis as configured by
# `sentiment_analysis_request_config`.
# The result of sentiment analysis. Sentiment analysis inspects user input
# and identifies the prevailing subjective opinion, especially to determine a
# user's attitude as positive, negative, or neutral.
# For Participants.AnalyzeContent, it needs to be configured in
# DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# StreamingDetectIntentRequest.query_params.
# And for Participants.AnalyzeContent and
# Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
class GoogleCloudDialogflowV2SentimentAnalysisResult
include Google::Apis::Core::Hashable
@ -6673,8 +6723,16 @@ module Google
# @return [String]
attr_accessor :query_text
# The result of sentiment analysis as configured by
# `sentiment_analysis_request_config`.
# The result of sentiment analysis. Sentiment analysis inspects user input
# and identifies the prevailing subjective opinion, especially to determine a
# user's attitude as positive, negative, or neutral.
# For Participants.AnalyzeContent, it needs to be configured in
# DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# StreamingDetectIntentRequest.query_params.
# And for Participants.AnalyzeContent and
# Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
# Corresponds to the JSON property `sentimentAnalysisResult`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SentimentAnalysisResult]
attr_accessor :sentiment_analysis_result
@ -6756,8 +6814,16 @@ module Google
end
end
# The result of sentiment analysis as configured by
# `sentiment_analysis_request_config`.
# The result of sentiment analysis. Sentiment analysis inspects user input
# and identifies the prevailing subjective opinion, especially to determine a
# user's attitude as positive, negative, or neutral.
# For Participants.AnalyzeContent, it needs to be configured in
# DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# StreamingDetectIntentRequest.query_params.
# And for Participants.AnalyzeContent and
# Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
class GoogleCloudDialogflowV2beta1SentimentAnalysisResult
include Google::Apis::Core::Hashable

View File

@ -88,6 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1151,6 +1157,8 @@ module Google
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
property :output_audio_text, as: 'outputAudioText', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText::Representation
hash :payload, as: 'payload'
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
@ -1203,6 +1211,14 @@ module Google
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ssml, as: 'ssml'
property :text, as: 'text'
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV2beta1
VERSION = 'V2beta1'
REVISION = '20200622'
REVISION = '20200627'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -236,6 +236,12 @@ module Google
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio]
attr_accessor :mixed_audio
# A text or ssml response that is preferentially used for TTS output audio
# synthesis, as described in the comment on the ResponseMessage message.
# Corresponds to the JSON property `outputAudioText`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText]
attr_accessor :output_audio_text
# Returns a response containing a custom, platform-specific payload.
# Corresponds to the JSON property `payload`
# @return [Hash<String,Object>]
@ -262,6 +268,7 @@ module Google
@human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
@payload = args[:payload] if args.key?(:payload)
@play_audio = args[:play_audio] if args.key?(:play_audio)
@text = args[:text] if args.key?(:text)
@ -433,6 +440,33 @@ module Google
end
end
# A text or ssml response that is preferentially used for TTS output audio
# synthesis, as described in the comment on the ResponseMessage message.
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
include Google::Apis::Core::Hashable
# The SSML text to be synthesized. For more information, see
# [SSML](/speech/text-to-speech/docs/ssml).
# Corresponds to the JSON property `ssml`
# @return [String]
attr_accessor :ssml
# The raw text to be synthesized.
# Corresponds to the JSON property `text`
# @return [String]
attr_accessor :text
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ssml = args[:ssml] if args.key?(:ssml)
@text = args[:text] if args.key?(:text)
end
end
# Specifies an audio clip to be played by the client as part of the response.
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
include Google::Apis::Core::Hashable
@ -2584,8 +2618,16 @@ module Google
# @return [String]
attr_accessor :query_text
# The result of sentiment analysis as configured by
# `sentiment_analysis_request_config`.
# The result of sentiment analysis. Sentiment analysis inspects user input
# and identifies the prevailing subjective opinion, especially to determine a
# user's attitude as positive, negative, or neutral.
# For Participants.AnalyzeContent, it needs to be configured in
# DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# StreamingDetectIntentRequest.query_params.
# And for Participants.AnalyzeContent and
# Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
# Corresponds to the JSON property `sentimentAnalysisResult`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
attr_accessor :sentiment_analysis_result
@ -2666,8 +2708,16 @@ module Google
end
end
# The result of sentiment analysis as configured by
# `sentiment_analysis_request_config`.
# The result of sentiment analysis. Sentiment analysis inspects user input
# and identifies the prevailing subjective opinion, especially to determine a
# user's attitude as positive, negative, or neutral.
# For Participants.AnalyzeContent, it needs to be configured in
# DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# StreamingDetectIntentRequest.query_params.
# And for Participants.AnalyzeContent and
# Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
class GoogleCloudDialogflowV2SentimentAnalysisResult
include Google::Apis::Core::Hashable
@ -6641,8 +6691,16 @@ module Google
# @return [String]
attr_accessor :query_text
# The result of sentiment analysis as configured by
# `sentiment_analysis_request_config`.
# The result of sentiment analysis. Sentiment analysis inspects user input
# and identifies the prevailing subjective opinion, especially to determine a
# user's attitude as positive, negative, or neutral.
# For Participants.AnalyzeContent, it needs to be configured in
# DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# StreamingDetectIntentRequest.query_params.
# And for Participants.AnalyzeContent and
# Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
# Corresponds to the JSON property `sentimentAnalysisResult`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult]
attr_accessor :sentiment_analysis_result
@ -6819,8 +6877,16 @@ module Google
end
end
# The result of sentiment analysis as configured by
# `sentiment_analysis_request_config`.
# The result of sentiment analysis. Sentiment analysis inspects user input
# and identifies the prevailing subjective opinion, especially to determine a
# user's attitude as positive, negative, or neutral.
# For Participants.AnalyzeContent, it needs to be configured in
# DetectIntentRequest.query_params. For
# Participants.StreamingAnalyzeContent, it needs to be configured in
# StreamingDetectIntentRequest.query_params.
# And for Participants.AnalyzeContent and
# Participants.StreamingAnalyzeContent, it needs to be configured in
# ConversationProfile.human_agent_assistant_config
class GoogleCloudDialogflowV2beta1SentimentAnalysisResult
include Google::Apis::Core::Hashable

View File

@ -88,6 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1199,6 +1205,8 @@ module Google
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
property :output_audio_text, as: 'outputAudioText', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText::Representation
hash :payload, as: 'payload'
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
@ -1251,6 +1259,14 @@ module Google
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ssml, as: 'ssml'
property :text, as: 'text'
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -1952,10 +1952,10 @@ module Google
# Required. The knowledge base to list all documents for.
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
# @param [Fixnum] page_size
# Optional. The maximum number of items to return in a single page. By
# The maximum number of items to return in a single page. By
# default 10 and at most 100.
# @param [String] page_token
# Optional. The next_page_token value returned from a previous list request.
# The next_page_token value returned from a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2855,10 +2855,10 @@ module Google
# Required. The knowledge base to list all documents for.
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
# @param [Fixnum] page_size
# Optional. The maximum number of items to return in a single page. By
# The maximum number of items to return in a single page. By
# default 10 and at most 100.
# @param [String] page_token
# Optional. The next_page_token value returned from a previous list request.
# The next_page_token value returned from a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -3105,44 +3105,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the fulfillment.
# @param [String] name
# Required. The unique identifier of the fulfillment.
# Format: `projects/<Project ID>/agent/fulfillment`.
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
# @param [String] update_mask
# Required. The mask to control which fields get updated. If the mask is not
# present, all fields will be updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def fulfillment_project_location_agent(name, google_cloud_dialogflow_v2beta1_fulfillment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+name}', options)
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment::Representation
command.request_object = google_cloud_dialogflow_v2beta1_fulfillment_object
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment::Representation
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment
command.params['name'] = name unless name.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the fulfillment.
# @param [String] name
# Required. The name of the fulfillment.
@ -3340,6 +3302,44 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the fulfillment.
# @param [String] name
# Required. The unique identifier of the fulfillment.
# Format: `projects/<Project ID>/agent/fulfillment`.
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
# @param [String] update_mask
# Required. The mask to control which fields get updated. If the mask is not
# present, all fields will be updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_project_location_agent_fulfillment(name, google_cloud_dialogflow_v2beta1_fulfillment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment::Representation
command.request_object = google_cloud_dialogflow_v2beta1_fulfillment_object
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment::Representation
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment
command.params['name'] = name unless name.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes entity types in the specified agent.
# Operation <response: google.protobuf.Empty>
# @param [String] parent

View File

@ -0,0 +1,33 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/gmailpostmastertools_v1beta1/service.rb'
require 'google/apis/gmailpostmastertools_v1beta1/classes.rb'
require 'google/apis/gmailpostmastertools_v1beta1/representations.rb'
module Google
module Apis
# Gmail Postmaster Tools API
#
# The Gmail Postmaster API is a RESTful API that provides programmatic access to
# email traffic metrics (like spam reports, delivery errors etc) otherwise
# available through the Gmail Postmaster Tools UI currently.
#
# @see https://developers.google.com/gmail/postmaster
module GmailpostmastertoolsV1beta1
VERSION = 'V1beta1'
REVISION = '20200629'
end
end
end

View File

@ -0,0 +1,306 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module GmailpostmastertoolsV1beta1
# Metric on a particular delivery error type.
class DeliveryError
include Google::Apis::Core::Hashable
# The class of delivery error.
# Corresponds to the JSON property `errorClass`
# @return [String]
attr_accessor :error_class
# The ratio of messages where the error occurred vs all authenticated
# traffic.
# Corresponds to the JSON property `errorRatio`
# @return [Float]
attr_accessor :error_ratio
# The type of delivery error.
# Corresponds to the JSON property `errorType`
# @return [String]
attr_accessor :error_type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@error_class = args[:error_class] if args.key?(:error_class)
@error_ratio = args[:error_ratio] if args.key?(:error_ratio)
@error_type = args[:error_type] if args.key?(:error_type)
end
end
# A registered domain resource in the Postmaster API.
class Domain
include Google::Apis::Core::Hashable
# Timestamp when the user registered this domain. Assigned by
# the server.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# The resource name of the Domain.
# Domain names have the form `domains/`domain_name``, where domain_name
# is the fully qualified domain name (i.e., mymail.mydomain.com).
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Users permission for this domain. Assigned by the server.
# Corresponds to the JSON property `permission`
# @return [String]
attr_accessor :permission
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time)
@name = args[:name] if args.key?(:name)
@permission = args[:permission] if args.key?(:permission)
end
end
# [Feedback loop](https://support.google.com/mail/answer/6254652) identifier
# information.
class FeedbackLoop
include Google::Apis::Core::Hashable
# Feedback loop identifier that uniquely identifies individual campaigns.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# The ratio of user marked spam messages with the identifier vs the total
# number of inboxed messages with that identifier.
# Corresponds to the JSON property `spamRatio`
# @return [Float]
attr_accessor :spam_ratio
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@spam_ratio = args[:spam_ratio] if args.key?(:spam_ratio)
end
end
# IP Reputation information for a set of IPs in a specific reputation category.
class IpReputation
include Google::Apis::Core::Hashable
# Total number of unique IPs in this reputation category. This metric only
# pertains to traffic that passed [SPF](http://www.openspf.org/) or
# [DKIM](http://www.dkim.org/).
# Corresponds to the JSON property `numIps`
# @return [Fixnum]
attr_accessor :num_ips
# The reputation category this IP reputation represents.
# Corresponds to the JSON property `reputation`
# @return [String]
attr_accessor :reputation
# A sample of IPs in this reputation category.
# Corresponds to the JSON property `sampleIps`
# @return [Array<String>]
attr_accessor :sample_ips
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@num_ips = args[:num_ips] if args.key?(:num_ips)
@reputation = args[:reputation] if args.key?(:reputation)
@sample_ips = args[:sample_ips] if args.key?(:sample_ips)
end
end
# Response message for ListDomains.
class ListDomainsResponse
include Google::Apis::Core::Hashable
# The list of domains.
# Corresponds to the JSON property `domains`
# @return [Array<Google::Apis::GmailpostmastertoolsV1beta1::Domain>]
attr_accessor :domains
# Token to retrieve the next page of results, or empty if there are no
# more results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@domains = args[:domains] if args.key?(:domains)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# Response message for ListTrafficStats.
class ListTrafficStatsResponse
include Google::Apis::Core::Hashable
# Token to retrieve the next page of results, or empty if there are no
# more results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# The list of TrafficStats.
# Corresponds to the JSON property `trafficStats`
# @return [Array<Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats>]
attr_accessor :traffic_stats
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@traffic_stats = args[:traffic_stats] if args.key?(:traffic_stats)
end
end
# Email traffic statistics pertaining to a specific date.
class TrafficStats
include Google::Apis::Core::Hashable
# Delivery errors for the domain. This metric only pertains to traffic that
# passed [SPF](http://www.openspf.org/) or [DKIM](http://www.dkim.org/).
# Corresponds to the JSON property `deliveryErrors`
# @return [Array<Google::Apis::GmailpostmastertoolsV1beta1::DeliveryError>]
attr_accessor :delivery_errors
# The ratio of mail that successfully authenticated with DKIM vs. all mail
# that attempted to authenticate with [DKIM](http://www.dkim.org/). Spoofed
# mail is excluded.
# Corresponds to the JSON property `dkimSuccessRatio`
# @return [Float]
attr_accessor :dkim_success_ratio
# The ratio of mail that passed [DMARC](https://dmarc.org/) alignment checks
# vs all mail received from the domain that successfully authenticated with
# either of [SPF](http://www.openspf.org/) or [DKIM](http://www.dkim.org/).
# Corresponds to the JSON property `dmarcSuccessRatio`
# @return [Float]
attr_accessor :dmarc_success_ratio
# Reputation of the domain.
# Corresponds to the JSON property `domainReputation`
# @return [String]
attr_accessor :domain_reputation
# The ratio of incoming mail (to Gmail), that passed secure transport (TLS)
# vs all mail received from that domain. This metric only pertains to traffic
# that passed [SPF](http://www.openspf.org/) or [DKIM](http://www.dkim.org/).
# Corresponds to the JSON property `inboundEncryptionRatio`
# @return [Float]
attr_accessor :inbound_encryption_ratio
# Reputation information pertaining to the IP addresses of the email servers
# for the domain. There is exactly one entry for each reputation category
# except
# REPUTATION_CATEGORY_UNSPECIFIED.
# Corresponds to the JSON property `ipReputations`
# @return [Array<Google::Apis::GmailpostmastertoolsV1beta1::IpReputation>]
attr_accessor :ip_reputations
# The resource name of the traffic statistics. Traffic statistic names have
# the form `domains/`domain`/trafficStats/`date``, where
# domain_name is the fully qualified domain name (i.e., mymail.mydomain.com)
# of the domain this traffic statistics pertains to and date is the date in
# yyyymmdd format that these statistics corresponds to.
# For example: domains/mymail.mydomain.com/trafficStats/20160807
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The ratio of outgoing mail (from Gmail) that was accepted over secure
# transport (TLS).
# Corresponds to the JSON property `outboundEncryptionRatio`
# @return [Float]
attr_accessor :outbound_encryption_ratio
# Spammy [Feedback loop identifiers]
# (https://support.google.com/mail/answer/6254652) with their individual spam
# rates. This metric only pertains to traffic that is authenticated by
# [DKIM](http://www.dkim.org/).
# Corresponds to the JSON property `spammyFeedbackLoops`
# @return [Array<Google::Apis::GmailpostmastertoolsV1beta1::FeedbackLoop>]
attr_accessor :spammy_feedback_loops
# The ratio of mail that successfully authenticated with SPF vs. all mail
# that attempted to authenticate with [SPF](http://www.openspf.org/). Spoofed
# mail is excluded.
# Corresponds to the JSON property `spfSuccessRatio`
# @return [Float]
attr_accessor :spf_success_ratio
# The ratio of user-report spam vs. email that was sent to the inbox. This
# metric only pertains to emails authenticated by
# [DKIM](http://www.dkim.org/).
# Corresponds to the JSON property `userReportedSpamRatio`
# @return [Float]
attr_accessor :user_reported_spam_ratio
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@delivery_errors = args[:delivery_errors] if args.key?(:delivery_errors)
@dkim_success_ratio = args[:dkim_success_ratio] if args.key?(:dkim_success_ratio)
@dmarc_success_ratio = args[:dmarc_success_ratio] if args.key?(:dmarc_success_ratio)
@domain_reputation = args[:domain_reputation] if args.key?(:domain_reputation)
@inbound_encryption_ratio = args[:inbound_encryption_ratio] if args.key?(:inbound_encryption_ratio)
@ip_reputations = args[:ip_reputations] if args.key?(:ip_reputations)
@name = args[:name] if args.key?(:name)
@outbound_encryption_ratio = args[:outbound_encryption_ratio] if args.key?(:outbound_encryption_ratio)
@spammy_feedback_loops = args[:spammy_feedback_loops] if args.key?(:spammy_feedback_loops)
@spf_success_ratio = args[:spf_success_ratio] if args.key?(:spf_success_ratio)
@user_reported_spam_ratio = args[:user_reported_spam_ratio] if args.key?(:user_reported_spam_ratio)
end
end
end
end
end

View File

@ -0,0 +1,141 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module GmailpostmastertoolsV1beta1
class DeliveryError
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Domain
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FeedbackLoop
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class IpReputation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListDomainsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListTrafficStatsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TrafficStats
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeliveryError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error_class, as: 'errorClass'
property :error_ratio, as: 'errorRatio'
property :error_type, as: 'errorType'
end
end
class Domain
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :name, as: 'name'
property :permission, as: 'permission'
end
end
class FeedbackLoop
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :spam_ratio, as: 'spamRatio'
end
end
class IpReputation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :num_ips, :numeric_string => true, as: 'numIps'
property :reputation, as: 'reputation'
collection :sample_ips, as: 'sampleIps'
end
end
class ListDomainsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :domains, as: 'domains', class: Google::Apis::GmailpostmastertoolsV1beta1::Domain, decorator: Google::Apis::GmailpostmastertoolsV1beta1::Domain::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListTrafficStatsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :traffic_stats, as: 'trafficStats', class: Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats, decorator: Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats::Representation
end
end
class TrafficStats
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :delivery_errors, as: 'deliveryErrors', class: Google::Apis::GmailpostmastertoolsV1beta1::DeliveryError, decorator: Google::Apis::GmailpostmastertoolsV1beta1::DeliveryError::Representation
property :dkim_success_ratio, as: 'dkimSuccessRatio'
property :dmarc_success_ratio, as: 'dmarcSuccessRatio'
property :domain_reputation, as: 'domainReputation'
property :inbound_encryption_ratio, as: 'inboundEncryptionRatio'
collection :ip_reputations, as: 'ipReputations', class: Google::Apis::GmailpostmastertoolsV1beta1::IpReputation, decorator: Google::Apis::GmailpostmastertoolsV1beta1::IpReputation::Representation
property :name, as: 'name'
property :outbound_encryption_ratio, as: 'outboundEncryptionRatio'
collection :spammy_feedback_loops, as: 'spammyFeedbackLoops', class: Google::Apis::GmailpostmastertoolsV1beta1::FeedbackLoop, decorator: Google::Apis::GmailpostmastertoolsV1beta1::FeedbackLoop::Representation
property :spf_success_ratio, as: 'spfSuccessRatio'
property :user_reported_spam_ratio, as: 'userReportedSpamRatio'
end
end
end
end
end

View File

@ -0,0 +1,236 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module GmailpostmastertoolsV1beta1
# Gmail Postmaster Tools API
#
# The Gmail Postmaster API is a RESTful API that provides programmatic access to
# email traffic metrics (like spam reports, delivery errors etc) otherwise
# available through the Gmail Postmaster Tools UI currently.
#
# @example
# require 'google/apis/gmailpostmastertools_v1beta1'
#
# Gmailpostmastertools = Google::Apis::GmailpostmastertoolsV1beta1 # Alias the module
# service = Gmailpostmastertools::PostmasterToolsService.new
#
# @see https://developers.google.com/gmail/postmaster
class PostmasterToolsService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token.
attr_accessor :key
# @return [String]
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
attr_accessor :quota_user
def initialize
super('https://gmailpostmastertools.googleapis.com/', '')
@batch_path = 'batch'
end
# Gets a specific domain registered by the client.
# Returns NOT_FOUND if the domain does not exist.
# @param [String] name
# The resource name of the domain. It should have the form
# `domains/`domain_name``, where domain_name is the fully qualified
# domain name.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::Domain] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::GmailpostmastertoolsV1beta1::Domain]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_domain(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::Domain::Representation
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::Domain
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists the domains that have been registered by the client. The order of
# domains in the response is unspecified and non-deterministic. Newly created
# domains will not necessarily be added to the end of this list.
# @param [Fixnum] page_size
# Requested page size. Server may return fewer domains than requested.
# If unspecified, server will pick an appropriate default.
# @param [String] page_token
# The next_page_token value returned from a previous List request, if any.
# This is the value of
# ListDomainsResponse.next_page_token
# returned from the previous call to `ListDomains` method.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_domains(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/domains', options)
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse::Representation
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::ListDomainsResponse
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Get traffic statistics for a domain on a specific date.
# Returns PERMISSION_DENIED if user does not have permission to access
# TrafficStats for the domain.
# @param [String] name
# The resource name of the traffic statistics to get.
# E.g., domains/mymail.mydomain.com/trafficStats/20160807.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_domain_traffic_stat(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats::Representation
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# List traffic statistics for all available days.
# Returns PERMISSION_DENIED if user does not have permission to access
# TrafficStats for the domain.
# @param [String] parent
# The resource name of the domain whose traffic statistics we'd like to list.
# It should have the form `domains/`domain_name``, where domain_name is
# the fully qualified domain name.
# @param [Fixnum] end_date_day
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
# if specifying a year by itself or a year and month where the day is not
# significant.
# @param [Fixnum] end_date_month
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
# month and day.
# @param [Fixnum] end_date_year
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
# a year.
# @param [Fixnum] page_size
# Requested page size. Server may return fewer TrafficStats than
# requested. If unspecified, server will pick an appropriate default.
# @param [String] page_token
# The next_page_token value returned from a previous List request, if any.
# This is the value of
# ListTrafficStatsResponse.next_page_token
# returned from the previous call to `ListTrafficStats` method.
# @param [Fixnum] start_date_day
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
# if specifying a year by itself or a year and month where the day is not
# significant.
# @param [Fixnum] start_date_month
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
# month and day.
# @param [Fixnum] start_date_year
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
# a year.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_domain_traffic_stats(parent, end_date_day: nil, end_date_month: nil, end_date_year: nil, page_size: nil, page_token: nil, start_date_day: nil, start_date_month: nil, start_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/trafficStats', options)
command.response_representation = Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse::Representation
command.response_class = Google::Apis::GmailpostmastertoolsV1beta1::ListTrafficStatsResponse
command.params['parent'] = parent unless parent.nil?
command.query['endDate.day'] = end_date_day unless end_date_day.nil?
command.query['endDate.month'] = end_date_month unless end_date_month.nil?
command.query['endDate.year'] = end_date_year unless end_date_year.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['startDate.day'] = start_date_day unless start_date_day.nil?
command.query['startDate.month'] = start_date_month unless start_date_month.nil?
command.query['startDate.year'] = start_date_year unless start_date_year.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
end
end
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/managed-microsoft-ad/
module ManagedidentitiesV1
VERSION = 'V1'
REVISION = '20200415'
REVISION = '20200622'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -542,6 +542,12 @@ module Google
# @return [Hash<String,Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
attr_accessor :maintenance_schedules
# Maintenance settings associated with instance. Allows service producers and
# end users to assign settings that controls maintenance on this instance.
# Corresponds to the JSON property `maintenanceSettings`
# @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
attr_accessor :maintenance_settings
# Unique name of the resource. It uses the form:
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
# Corresponds to the JSON property `name`
@ -609,6 +615,7 @@ module Google
@labels = args[:labels] if args.key?(:labels)
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
@name = args[:name] if args.key?(:name)
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
@ -664,6 +671,30 @@ module Google
end
end
# Maintenance settings associated with instance. Allows service producers and
# end users to assign settings that controls maintenance on this instance.
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
include Google::Apis::Core::Hashable
# Optional. Exclude instance from maintenance. When true, rollout service will
# not
# attempt maintenance on the instance. Rollout service will include the
# instance in reported rollout progress as not attempted.
# Corresponds to the JSON property `exclude`
# @return [Boolean]
attr_accessor :exclude
alias_method :exclude?, :exclude
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@exclude = args[:exclude] if args.key?(:exclude)
end
end
# Node information for custom per-node SLO implementations.
# SSA does not support per-node SLO, but producers can populate per-node
# information in SloMetadata for custom precomputations.
@ -1128,10 +1159,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -1146,7 +1180,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
@ -1219,6 +1255,9 @@ module Google
# the conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -1310,10 +1349,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -1328,7 +1370,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",

View File

@ -94,6 +94,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -332,6 +338,8 @@ module Google
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
property :name, as: 'name'
hash :producer_metadata, as: 'producerMetadata'
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
@ -356,6 +364,13 @@ module Google
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exclude, as: 'exclude'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -311,6 +311,9 @@ module Google
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/managed-microsoft-ad/
module ManagedidentitiesV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200415'
REVISION = '20200622'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -550,6 +550,12 @@ module Google
# @return [Hash<String,Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
attr_accessor :maintenance_schedules
# Maintenance settings associated with instance. Allows service producers and
# end users to assign settings that controls maintenance on this instance.
# Corresponds to the JSON property `maintenanceSettings`
# @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
attr_accessor :maintenance_settings
# Unique name of the resource. It uses the form:
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
# Corresponds to the JSON property `name`
@ -617,6 +623,7 @@ module Google
@labels = args[:labels] if args.key?(:labels)
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
@name = args[:name] if args.key?(:name)
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
@ -672,6 +679,30 @@ module Google
end
end
# Maintenance settings associated with instance. Allows service producers and
# end users to assign settings that controls maintenance on this instance.
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
include Google::Apis::Core::Hashable
# Optional. Exclude instance from maintenance. When true, rollout service will
# not
# attempt maintenance on the instance. Rollout service will include the
# instance in reported rollout progress as not attempted.
# Corresponds to the JSON property `exclude`
# @return [Boolean]
attr_accessor :exclude
alias_method :exclude?, :exclude
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@exclude = args[:exclude] if args.key?(:exclude)
end
end
# Node information for custom per-node SLO implementations.
# SSA does not support per-node SLO, but producers can populate per-node
# information in SloMetadata for custom precomputations.
@ -1135,10 +1166,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -1153,7 +1187,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
@ -1226,6 +1262,9 @@ module Google
# the conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -1308,10 +1347,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -1326,7 +1368,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",

View File

@ -94,6 +94,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -332,6 +338,8 @@ module Google
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
property :name, as: 'name'
hash :producer_metadata, as: 'producerMetadata'
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
@ -356,6 +364,13 @@ module Google
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exclude, as: 'exclude'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -315,6 +315,9 @@ module Google
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/managed-microsoft-ad/
module ManagedidentitiesV1beta1
VERSION = 'V1beta1'
REVISION = '20200415'
REVISION = '20200622'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -542,6 +542,12 @@ module Google
# @return [Hash<String,Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
attr_accessor :maintenance_schedules
# Maintenance settings associated with instance. Allows service producers and
# end users to assign settings that controls maintenance on this instance.
# Corresponds to the JSON property `maintenanceSettings`
# @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
attr_accessor :maintenance_settings
# Unique name of the resource. It uses the form:
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
# Corresponds to the JSON property `name`
@ -609,6 +615,7 @@ module Google
@labels = args[:labels] if args.key?(:labels)
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
@name = args[:name] if args.key?(:name)
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
@ -664,6 +671,30 @@ module Google
end
end
# Maintenance settings associated with instance. Allows service producers and
# end users to assign settings that controls maintenance on this instance.
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
include Google::Apis::Core::Hashable
# Optional. Exclude instance from maintenance. When true, rollout service will
# not
# attempt maintenance on the instance. Rollout service will include the
# instance in reported rollout progress as not attempted.
# Corresponds to the JSON property `exclude`
# @return [Boolean]
attr_accessor :exclude
alias_method :exclude?, :exclude
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@exclude = args[:exclude] if args.key?(:exclude)
end
end
# Node information for custom per-node SLO implementations.
# SSA does not support per-node SLO, but producers can populate per-node
# information in SloMetadata for custom precomputations.
@ -1128,10 +1159,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -1146,7 +1180,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
@ -1219,6 +1255,9 @@ module Google
# the conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -1310,10 +1349,13 @@ module Google
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
@ -1328,7 +1370,9 @@ module Google
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",

View File

@ -94,6 +94,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -332,6 +338,8 @@ module Google
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
property :name, as: 'name'
hash :producer_metadata, as: 'producerMetadata'
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
@ -356,6 +364,13 @@ module Google
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exclude, as: 'exclude'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -311,6 +311,9 @@ module Google
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/ml/
module MlV1
VERSION = 'V1'
REVISION = '20200624'
REVISION = '20200629'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3101,7 +3101,7 @@ module Google
# `
# "audit_configs": [
# `
# "service": "allServices"
# "service": "allServices",
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
@ -3110,18 +3110,18 @@ module Google
# ]
# `,
# `
# "log_type": "DATA_WRITE",
# "log_type": "DATA_WRITE"
# `,
# `
# "log_type": "ADMIN_READ",
# "log_type": "ADMIN_READ"
# `
# ]
# `,
# `
# "service": "sampleservice.googleapis.com"
# "service": "sampleservice.googleapis.com",
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
# "log_type": "DATA_READ"
# `,
# `
# "log_type": "DATA_WRITE",
@ -3173,7 +3173,7 @@ module Google
# ]
# `,
# `
# "log_type": "DATA_WRITE",
# "log_type": "DATA_WRITE"
# `
# ]
# `