Autogenerated update (2019-09-14)

Delete:
- healthcare_v1alpha2

Update:
- alertcenter_v1beta1
- compute_alpha
- compute_beta
- compute_v1
- dialogflow_v2
- dialogflow_v2beta1
- iap_v1
- jobs_v3
- jobs_v3p1beta1
This commit is contained in:
Google APIs 2019-09-14 00:38:26 +00:00
parent b38cd7cd67
commit 6f5bdecb90
30 changed files with 4098 additions and 8663 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/admin-sdk/alertcenter/
module AlertcenterV1beta1
VERSION = 'V1beta1'
REVISION = '20190821'
REVISION = '20190910'
# See and delete your domain's G Suite alerts, and send alert feedback
AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'

View File

@ -379,6 +379,25 @@ module Google
end
end
# Alerts from App Maker to notify admins to set up default SQL instance.
class AppMakerSqlSetupNotification
include Google::Apis::Core::Hashable
# List of applications with requests for default SQL set up.
# Corresponds to the JSON property `requestInfo`
# @return [Array<Google::Apis::AlertcenterV1beta1::RequestInfo>]
attr_accessor :request_info
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@request_info = args[:request_info] if args.key?(:request_info)
end
end
# Attachment with application-specific information about an alert.
class Attachment
include Google::Apis::Core::Hashable
@ -1070,6 +1089,39 @@ module Google
end
end
# Requests for one application that needs default SQL setup.
class RequestInfo
include Google::Apis::Core::Hashable
# List of app developers who triggered notifications for above
# application.
# Corresponds to the JSON property `appDeveloperEmail`
# @return [Array<String>]
attr_accessor :app_developer_email
# Required. The application that requires the SQL setup.
# Corresponds to the JSON property `appKey`
# @return [String]
attr_accessor :app_key
# Required. Number of requests sent for this application to set up default
# SQL instance.
# Corresponds to the JSON property `numberOfRequests`
# @return [Fixnum]
attr_accessor :number_of_requests
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@app_developer_email = args[:app_developer_email] if args.key?(:app_developer_email)
@app_key = args[:app_key] if args.key?(:app_key)
@number_of_requests = args[:number_of_requests] if args.key?(:number_of_requests)
end
end
# Customer-level settings.
class Settings
include Google::Apis::Core::Hashable

View File

@ -52,6 +52,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AppMakerSqlSetupNotification
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Attachment
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -190,6 +196,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RequestInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Settings
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -298,6 +310,14 @@ module Google
end
end
class AppMakerSqlSetupNotification
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :request_info, as: 'requestInfo', class: Google::Apis::AlertcenterV1beta1::RequestInfo, decorator: Google::Apis::AlertcenterV1beta1::RequestInfo::Representation
end
end
class Attachment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -512,6 +532,15 @@ module Google
end
end
class RequestInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :app_developer_email, as: 'appDeveloperEmail'
property :app_key, as: 'appKey'
property :number_of_requests, :numeric_string => true, as: 'numberOfRequests'
end
end
class Settings
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
REVISION = '20190815'
REVISION = '20190825'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1293,8 +1293,9 @@ module Google
attr_accessor :shielded_instance_initial_state
# Specifies a valid partial or full URL to an existing Persistent Disk resource.
# When creating a new instance, one of initializeParams.sourceImage or disks.
# source is required except for local SSD.
# When creating a new instance, one of initializeParams.sourceImage or
# initializeParams.sourceSnapshot or disks.source is required except for local
# SSD.
# If desired, you can also attach existing non-root persistent disks using this
# property. This field is only applicable for persistent disks.
# Note that for InstanceTemplate, specify the disk name, not the URL for the
@ -1406,7 +1407,8 @@ module Google
attr_accessor :resource_policies
# The source image to create this disk. When creating a new instance, one of
# initializeParams.sourceImage or disks.source is required except for local SSD.
# initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.
# source is required except for local SSD.
# To create a disk with one of the public operating system images, specify the
# image by its family name. For example, specify family/debian-9 to use the
# latest Debian 9 image:
@ -1431,8 +1433,8 @@ module Google
attr_accessor :source_image_encryption_key
# The source snapshot to create this disk. When creating a new instance, one of
# initializeParams.sourceSnapshot or disks.source is required except for local
# SSD.
# initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.
# source is required except for local SSD.
# To create a disk with a snapshot that you created, specify the snapshot name
# in the following format:
# global/snapshots/my-backup
@ -8837,6 +8839,17 @@ module Google
# @return [Array<String>]
attr_accessor :health_checks
# Optional. Policy for how the results from multiple health checks for the same
# endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified.
# - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
# the health check service.
# - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the
# HealthState of the entire health check service. If all backend's are healthy,
# the HealthState of the health check service is HEALTHY. .
# Corresponds to the JSON property `healthStatusAggregationPolicy`
# @return [String]
attr_accessor :health_status_aggregation_policy
# Policy for how the results from multiple health checks for the same endpoint
# are aggregated.
# - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
@ -8913,6 +8926,7 @@ module Google
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@health_checks = args[:health_checks] if args.key?(:health_checks)
@health_status_aggregation_policy = args[:health_status_aggregation_policy] if args.key?(:health_status_aggregation_policy)
@health_status_aggregation_strategy = args[:health_status_aggregation_strategy] if args.key?(:health_status_aggregation_strategy)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@ -34874,7 +34888,7 @@ module Google
# Represents a Target TCP Proxy resource.
# A target TCP proxy is a component of a TCP Proxy load balancer. Global
# forwarding rules reference ta target TCP proxy, and the target proxy then
# forwarding rules reference target TCP proxy, and the target proxy then
# references an external backend service. For more information, read TCP Proxy
# Load Balancing Concepts. (== resource_for beta.targetTcpProxies ==) (==
# resource_for v1.targetTcpProxies ==)

View File

@ -7323,6 +7323,7 @@ module Google
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
collection :health_checks, as: 'healthChecks'
property :health_status_aggregation_policy, as: 'healthStatusAggregationPolicy'
property :health_status_aggregation_strategy, as: 'healthStatusAggregationStrategy'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
REVISION = '20190815'
REVISION = '20190825'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1247,8 +1247,9 @@ module Google
attr_accessor :mode
# Specifies a valid partial or full URL to an existing Persistent Disk resource.
# When creating a new instance, one of initializeParams.sourceImage or disks.
# source is required except for local SSD.
# When creating a new instance, one of initializeParams.sourceImage or
# initializeParams.sourceSnapshot or disks.source is required except for local
# SSD.
# If desired, you can also attach existing non-root persistent disks using this
# property. This field is only applicable for persistent disks.
# Note that for InstanceTemplate, specify the disk name, not the URL for the
@ -1351,7 +1352,8 @@ module Google
attr_accessor :resource_policies
# The source image to create this disk. When creating a new instance, one of
# initializeParams.sourceImage or disks.source is required except for local SSD.
# initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.
# source is required except for local SSD.
# To create a disk with one of the public operating system images, specify the
# image by its family name. For example, specify family/debian-9 to use the
# latest Debian 9 image:
@ -1376,8 +1378,8 @@ module Google
attr_accessor :source_image_encryption_key
# The source snapshot to create this disk. When creating a new instance, one of
# initializeParams.sourceSnapshot or disks.source is required except for local
# SSD.
# initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.
# source is required except for local SSD.
# To create a disk with a snapshot that you created, specify the snapshot name
# in the following format:
# global/snapshots/my-backup
@ -11488,6 +11490,25 @@ module Google
end
end
# InstanceGroupManagers.createInstances
class InstanceGroupManagersCreateInstancesRequest
include Google::Apis::Core::Hashable
# [Required] List of specifications of per-instance configs.
# Corresponds to the JSON property `instances`
# @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
attr_accessor :instances
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instances = args[:instances] if args.key?(:instances)
end
end
#
class InstanceGroupManagersDeleteInstancesRequest
include Google::Apis::Core::Hashable
@ -15488,6 +15509,11 @@ module Google
# @return [String]
attr_accessor :instance
# [Output Only] Health state of the instance per health-check.
# Corresponds to the JSON property `instanceHealth`
# @return [Array<Google::Apis::ComputeBeta::ManagedInstanceInstanceHealth>]
attr_accessor :instance_health
# [Output Only] The status of the instance. This field is empty when the
# instance does not exist.
# Corresponds to the JSON property `instanceStatus`
@ -15514,12 +15540,39 @@ module Google
@current_action = args[:current_action] if args.key?(:current_action)
@id = args[:id] if args.key?(:id)
@instance = args[:instance] if args.key?(:instance)
@instance_health = args[:instance_health] if args.key?(:instance_health)
@instance_status = args[:instance_status] if args.key?(:instance_status)
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
@version = args[:version] if args.key?(:version)
end
end
#
class ManagedInstanceInstanceHealth
include Google::Apis::Core::Hashable
# [Output Only] The current detailed instance health state.
# Corresponds to the JSON property `detailedHealthState`
# @return [String]
attr_accessor :detailed_health_state
# [Output Only] The URL for the health check that verifies whether the instance
# is healthy.
# Corresponds to the JSON property `healthCheck`
# @return [String]
attr_accessor :health_check
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@detailed_health_state = args[:detailed_health_state] if args.key?(:detailed_health_state)
@health_check = args[:health_check] if args.key?(:health_check)
end
end
#
class ManagedInstanceLastAttempt
include Google::Apis::Core::Hashable
@ -19470,6 +19523,40 @@ module Google
end
end
#
class PerInstanceConfig
include Google::Apis::Core::Hashable
# Fingerprint of this per-instance config. This field may be used in optimistic
# locking. It will be ignored when inserting a per-instance config. An up-to-
# date fingerprint must be provided in order to update an existing per-instance
# config or the field needs to be unset.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :fingerprint
# The name of the per-instance config and the corresponding instance. Serves as
# a merge key during UpdatePerInstanceConfigs operation, i.e. if per-instance
# config with the same name exists then it will be updated, otherwise a new one
# will be created for the VM instance with the same name. An attempt to create a
# per-instance config for a VM instance that either doesn't exist or is not part
# of the group will result in a failure.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@name = args[:name] if args.key?(:name)
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to specify
# access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
@ -20556,6 +20643,25 @@ module Google
end
end
# RegionInstanceGroupManagers.createInstances
class RegionInstanceGroupManagersCreateInstancesRequest
include Google::Apis::Core::Hashable
# [Required] List of specifications of per-instance configs.
# Corresponds to the JSON property `instances`
# @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
attr_accessor :instances
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instances = args[:instances] if args.key?(:instances)
end
end
#
class RegionInstanceGroupManagersDeleteInstancesRequest
include Google::Apis::Core::Hashable
@ -28827,7 +28933,7 @@ module Google
# Represents a Target TCP Proxy resource.
# A target TCP proxy is a component of a TCP Proxy load balancer. Global
# forwarding rules reference ta target TCP proxy, and the target proxy then
# forwarding rules reference target TCP proxy, and the target proxy then
# references an external backend service. For more information, read TCP Proxy
# Load Balancing Concepts. (== resource_for beta.targetTcpProxies ==) (==
# resource_for v1.targetTcpProxies ==)

View File

@ -1378,6 +1378,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersCreateInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagersDeleteInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1954,6 +1960,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ManagedInstanceInstanceHealth
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ManagedInstanceLastAttempt
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2518,6 +2530,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PerInstanceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2692,6 +2710,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagersCreateInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionInstanceGroupManagersDeleteInstancesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -7071,6 +7095,14 @@ module Google
end
end
class InstanceGroupManagersCreateInstancesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
end
end
class InstanceGroupManagersDeleteInstancesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -8094,6 +8126,8 @@ module Google
property :current_action, as: 'currentAction'
property :id, :numeric_string => true, as: 'id'
property :instance, as: 'instance'
collection :instance_health, as: 'instanceHealth', class: Google::Apis::ComputeBeta::ManagedInstanceInstanceHealth, decorator: Google::Apis::ComputeBeta::ManagedInstanceInstanceHealth::Representation
property :instance_status, as: 'instanceStatus'
property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt::Representation
@ -8102,6 +8136,14 @@ module Google
end
end
class ManagedInstanceInstanceHealth
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detailed_health_state, as: 'detailedHealthState'
property :health_check, as: 'healthCheck'
end
end
class ManagedInstanceLastAttempt
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9114,6 +9156,14 @@ module Google
end
end
class PerInstanceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :fingerprint, :base64 => true, as: 'fingerprint'
property :name, as: 'name'
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9410,6 +9460,14 @@ module Google
end
end
class RegionInstanceGroupManagersCreateInstancesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
end
end
class RegionInstanceGroupManagersDeleteInstancesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -6761,6 +6761,65 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates instances with per-instance configs in this managed instance group.
# Instances are created using the current instance template. The create
# instances operation is marked DONE if the createInstances request is
# successful. The underlying actions take additional time. You must separately
# verify the status of the creating or actions with the listmanagedinstances
# method.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where the managed instance group is located. It should
# conform to RFC1035.
# @param [String] instance_group_manager
# The name of the managed instance group. It should conform to RFC1035.
# @param [Google::Apis::ComputeBeta::InstanceGroupManagersCreateInstancesRequest] instance_group_managers_create_instances_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @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 create_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances', options)
command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersCreateInstancesRequest::Representation
command.request_object = instance_group_managers_create_instances_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified managed instance group and all of the instances in that
# group. Note that the instance group must not belong to a backend service. Read
# Deleting an instance group for more information.
@ -17496,6 +17555,65 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates instances with per-instance configs in this regional managed instance
# group. Instances are created using the current instance template. The create
# instances operation is marked DONE if the createInstances request is
# successful. The underlying actions take additional time. You must separately
# verify the status of the creating or actions with the listmanagedinstances
# method.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region where the managed instance group is located. It should
# conform to RFC1035.
# @param [String] instance_group_manager
# The name of the managed instance group. It should conform to RFC1035.
# @param [Google::Apis::ComputeBeta::RegionInstanceGroupManagersCreateInstancesRequest] region_instance_group_managers_create_instances_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::Operation]
#
# @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 create_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', options)
command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersCreateInstancesRequest::Representation
command.request_object = region_instance_group_managers_create_instances_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified managed instance group and all of the instances in that
# group.
# @param [String] project

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20190815'
REVISION = '20190825'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

File diff suppressed because it is too large Load Diff

View File

@ -928,6 +928,42 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class HealthChecksAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class HealthChecksScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class HealthStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2506,6 +2542,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RegionTargetHttpsProxiesSetSslCertificatesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionUrlMapsValidateRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Reservation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3022,6 +3070,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SslCertificateAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class SslCertificateList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3040,6 +3106,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SslCertificatesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class SslPoliciesList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3184,12 +3268,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TargetHttpProxiesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class TargetHttpProxy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetHttpProxyAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetHttpProxyList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3208,6 +3316,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TargetHttpsProxiesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class TargetHttpsProxiesSetQuicOverrideRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3226,6 +3352,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TargetHttpsProxyAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class TargetHttpsProxyList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3598,6 +3742,42 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UrlMapsAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class UrlMapsScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class ValidateUrlMapsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -5522,6 +5702,7 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :ssl_health_check, as: 'sslHealthCheck', class: Google::Apis::ComputeV1::SslHealthCheck, decorator: Google::Apis::ComputeV1::SslHealthCheck::Representation
@ -5572,6 +5753,66 @@ module Google
end
end
class HealthChecksAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeV1::HealthChecksScopedList, decorator: Google::Apis::ComputeV1::HealthChecksScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::HealthChecksAggregatedList::Warning, decorator: Google::Apis::ComputeV1::HealthChecksAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::HealthChecksAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::HealthChecksAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class HealthChecksScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :health_checks, as: 'healthChecks', class: Google::Apis::ComputeV1::HealthCheck, decorator: Google::Apis::ComputeV1::HealthCheck::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeV1::HealthChecksScopedList::Warning, decorator: Google::Apis::ComputeV1::HealthChecksScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::HealthChecksScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::HealthChecksScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class HealthStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -8453,6 +8694,21 @@ module Google
end
end
class RegionTargetHttpsProxiesSetSslCertificatesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :ssl_certificates, as: 'sslCertificates'
end
end
class RegionUrlMapsValidateRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :resource, as: 'resource', class: Google::Apis::ComputeV1::UrlMap, decorator: Google::Apis::ComputeV1::UrlMap::Representation
end
end
class Reservation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9389,10 +9645,43 @@ module Google
property :kind, as: 'kind'
property :name, as: 'name'
property :private_key, as: 'privateKey'
property :region, as: 'region'
property :self_link, as: 'selfLink'
end
end
class SslCertificateAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeV1::SslCertificatesScopedList, decorator: Google::Apis::ComputeV1::SslCertificatesScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::SslCertificateAggregatedList::Warning, decorator: Google::Apis::ComputeV1::SslCertificateAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::SslCertificateAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::SslCertificateAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class SslCertificateList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9425,6 +9714,34 @@ module Google
end
end
class SslCertificatesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :ssl_certificates, as: 'sslCertificates', class: Google::Apis::ComputeV1::SslCertificate, decorator: Google::Apis::ComputeV1::SslCertificate::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeV1::SslCertificatesScopedList::Warning, decorator: Google::Apis::ComputeV1::SslCertificatesScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::SslCertificatesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::SslCertificatesScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class SslPoliciesList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9524,10 +9841,13 @@ module Google
property :name, as: 'name'
property :network, as: 'network'
property :private_ip_google_access, as: 'privateIpGoogleAccess'
property :purpose, as: 'purpose'
property :region, as: 'region'
property :role, as: 'role'
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeV1::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeV1::SubnetworkSecondaryRange::Representation
property :self_link, as: 'selfLink'
property :state, as: 'state'
end
end
@ -9675,6 +9995,34 @@ module Google
end
end
class TargetHttpProxiesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :target_http_proxies, as: 'targetHttpProxies', class: Google::Apis::ComputeV1::TargetHttpProxy, decorator: Google::Apis::ComputeV1::TargetHttpProxy::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetHttpProxiesScopedList::Warning, decorator: Google::Apis::ComputeV1::TargetHttpProxiesScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::TargetHttpProxiesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::TargetHttpProxiesScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class TargetHttpProxy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9683,11 +10031,24 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :url_map, as: 'urlMap'
end
end
class TargetHttpProxyAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeV1::TargetHttpProxiesScopedList, decorator: Google::Apis::ComputeV1::TargetHttpProxiesScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
end
end
class TargetHttpProxyList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9720,6 +10081,34 @@ module Google
end
end
class TargetHttpsProxiesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :target_https_proxies, as: 'targetHttpsProxies', class: Google::Apis::ComputeV1::TargetHttpsProxy, decorator: Google::Apis::ComputeV1::TargetHttpsProxy::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetHttpsProxiesScopedList::Warning, decorator: Google::Apis::ComputeV1::TargetHttpsProxiesScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::TargetHttpsProxiesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::TargetHttpsProxiesScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class TargetHttpsProxiesSetQuicOverrideRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9743,6 +10132,7 @@ module Google
property :kind, as: 'kind'
property :name, as: 'name'
property :quic_override, as: 'quicOverride'
property :region, as: 'region'
property :self_link, as: 'selfLink'
collection :ssl_certificates, as: 'sslCertificates'
property :ssl_policy, as: 'sslPolicy'
@ -9750,6 +10140,38 @@ module Google
end
end
class TargetHttpsProxyAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeV1::TargetHttpsProxiesScopedList, decorator: Google::Apis::ComputeV1::TargetHttpsProxiesScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList::Warning, decorator: Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class TargetHttpsProxyList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -10323,6 +10745,7 @@ module Google
property :name, as: 'name'
collection :path_matchers, as: 'pathMatchers', class: Google::Apis::ComputeV1::PathMatcher, decorator: Google::Apis::ComputeV1::PathMatcher::Representation
property :region, as: 'region'
property :self_link, as: 'selfLink'
collection :tests, as: 'tests', class: Google::Apis::ComputeV1::UrlMapTest, decorator: Google::Apis::ComputeV1::UrlMapTest::Representation
@ -10389,6 +10812,66 @@ module Google
end
end
class UrlMapsAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeV1::UrlMapsScopedList, decorator: Google::Apis::ComputeV1::UrlMapsScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::UrlMapsAggregatedList::Warning, decorator: Google::Apis::ComputeV1::UrlMapsAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::UrlMapsAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::UrlMapsAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class UrlMapsScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :url_maps, as: 'urlMaps', class: Google::Apis::ComputeV1::UrlMap, decorator: Google::Apis::ComputeV1::UrlMap::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeV1::UrlMapsScopedList::Warning, decorator: Google::Apis::ComputeV1::UrlMapsScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::UrlMapsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::UrlMapsScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class ValidateUrlMapsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -557,6 +557,12 @@ module Google
# @return [String]
attr_accessor :display_name
# Optional. Enables fuzzy entity extraction during classification.
# Corresponds to the JSON property `enableFuzzyExtraction`
# @return [Boolean]
attr_accessor :enable_fuzzy_extraction
alias_method :enable_fuzzy_extraction?, :enable_fuzzy_extraction
# Optional. The collection of entity entries associated with the entity type.
# Corresponds to the JSON property `entities`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>]
@ -583,6 +589,7 @@ module Google
def update!(**args)
@auto_expansion_mode = args[:auto_expansion_mode] if args.key?(:auto_expansion_mode)
@display_name = args[:display_name] if args.key?(:display_name)
@enable_fuzzy_extraction = args[:enable_fuzzy_extraction] if args.key?(:enable_fuzzy_extraction)
@entities = args[:entities] if args.key?(:entities)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@ -2878,6 +2885,11 @@ module Google
# @return [String]
attr_accessor :name
# Metadata for smart reply models.
# Corresponds to the JSON property `smartReplyModelMetadata`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata]
attr_accessor :smart_reply_model_metadata
# Output only. State of the model. A model can only serve prediction requests
# after it gets deployed.
# Corresponds to the JSON property `state`
@ -2895,6 +2907,7 @@ module Google
@datasets = args[:datasets] if args.key?(:datasets)
@display_name = args[:display_name] if args.key?(:display_name)
@name = args[:name] if args.key?(:name)
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
@state = args[:state] if args.key?(:state)
end
end
@ -2916,6 +2929,12 @@ module Google
# @return [String]
attr_accessor :display_name
# Optional. Enables fuzzy entity extraction during classification.
# Corresponds to the JSON property `enableFuzzyExtraction`
# @return [Boolean]
attr_accessor :enable_fuzzy_extraction
alias_method :enable_fuzzy_extraction?, :enable_fuzzy_extraction
# Optional. The collection of entity entries associated with the entity type.
# Corresponds to the JSON property `entities`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
@ -2942,6 +2961,7 @@ module Google
def update!(**args)
@auto_expansion_mode = args[:auto_expansion_mode] if args.key?(:auto_expansion_mode)
@display_name = args[:display_name] if args.key?(:display_name)
@enable_fuzzy_extraction = args[:enable_fuzzy_extraction] if args.key?(:enable_fuzzy_extraction)
@entities = args[:entities] if args.key?(:entities)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@ -4916,6 +4936,27 @@ module Google
end
end
# Metadata for smart reply models.
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
include Google::Apis::Core::Hashable
# Optional. Type of the article suggestion model. The available values are:
# * `smart-reply-dual-encoder-model-1` - (default) Smart Reply Dual Encoder
# model.
# Corresponds to the JSON property `modelType`
# @return [String]
attr_accessor :model_type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@model_type = args[:model_type] if args.key?(:model_type)
end
end
# The request message for a webhook call.
class GoogleCloudDialogflowV2beta1WebhookRequest
include Google::Apis::Core::Hashable

View File

@ -766,6 +766,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1WebhookRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -948,6 +954,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_expansion_mode, as: 'autoExpansionMode'
property :display_name, as: 'displayName'
property :enable_fuzzy_extraction, as: 'enableFuzzyExtraction'
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity::Representation
property :kind, as: 'kind'
@ -1558,6 +1565,8 @@ module Google
property :display_name, as: 'displayName'
property :name, as: 'name'
property :smart_reply_model_metadata, as: 'smartReplyModelMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata::Representation
property :state, as: 'state'
end
end
@ -1567,6 +1576,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_expansion_mode, as: 'autoExpansionMode'
property :display_name, as: 'displayName'
property :enable_fuzzy_extraction, as: 'enableFuzzyExtraction'
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity::Representation
property :kind, as: 'kind'
@ -2089,6 +2099,13 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :model_type, as: 'modelType'
end
end
class GoogleCloudDialogflowV2beta1WebhookRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -1444,6 +1444,45 @@ module Google
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server
# makes a best effort to cancel the operation, but success is not
# guaranteed. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
# @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::DialogflowV2::GoogleProtobufEmpty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
#
# @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 cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:cancel', options)
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
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
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
@ -1523,6 +1562,45 @@ module Google
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server
# makes a best effort to cancel the operation, but success is not
# guaranteed. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
# @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::DialogflowV2::GoogleProtobufEmpty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
#
# @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 cancel_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+name}:cancel', options)
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
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
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.

View File

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

View File

@ -117,6 +117,12 @@ module Google
# @return [String]
attr_accessor :display_name
# Optional. Enables fuzzy entity extraction during classification.
# Corresponds to the JSON property `enableFuzzyExtraction`
# @return [Boolean]
attr_accessor :enable_fuzzy_extraction
alias_method :enable_fuzzy_extraction?, :enable_fuzzy_extraction
# Optional. The collection of entity entries associated with the entity type.
# Corresponds to the JSON property `entities`
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity>]
@ -143,6 +149,7 @@ module Google
def update!(**args)
@auto_expansion_mode = args[:auto_expansion_mode] if args.key?(:auto_expansion_mode)
@display_name = args[:display_name] if args.key?(:display_name)
@enable_fuzzy_extraction = args[:enable_fuzzy_extraction] if args.key?(:enable_fuzzy_extraction)
@entities = args[:entities] if args.key?(:entities)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@ -2097,6 +2104,11 @@ module Google
# @return [String]
attr_accessor :name
# Metadata for smart reply models.
# Corresponds to the JSON property `smartReplyModelMetadata`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata]
attr_accessor :smart_reply_model_metadata
# Output only. State of the model. A model can only serve prediction requests
# after it gets deployed.
# Corresponds to the JSON property `state`
@ -2114,6 +2126,7 @@ module Google
@datasets = args[:datasets] if args.key?(:datasets)
@display_name = args[:display_name] if args.key?(:display_name)
@name = args[:name] if args.key?(:name)
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
@state = args[:state] if args.key?(:state)
end
end
@ -2319,6 +2332,12 @@ module Google
# @return [String]
attr_accessor :display_name
# Optional. Enables fuzzy entity extraction during classification.
# Corresponds to the JSON property `enableFuzzyExtraction`
# @return [Boolean]
attr_accessor :enable_fuzzy_extraction
alias_method :enable_fuzzy_extraction?, :enable_fuzzy_extraction
# Optional. The collection of entity entries associated with the entity type.
# Corresponds to the JSON property `entities`
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
@ -2345,6 +2364,7 @@ module Google
def update!(**args)
@auto_expansion_mode = args[:auto_expansion_mode] if args.key?(:auto_expansion_mode)
@display_name = args[:display_name] if args.key?(:display_name)
@enable_fuzzy_extraction = args[:enable_fuzzy_extraction] if args.key?(:enable_fuzzy_extraction)
@entities = args[:entities] if args.key?(:entities)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@ -2507,48 +2527,6 @@ module Google
end
end
# Request message for Document.ExportDocument.
class GoogleCloudDialogflowV2beta1ExportDocumentRequest
include Google::Apis::Core::Hashable
# Google Cloud Storage location for the output.
# Corresponds to the JSON property `gcsDestination`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsDestination]
attr_accessor :gcs_destination
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
end
end
# Google Cloud Storage location for the output.
class GoogleCloudDialogflowV2beta1GcsDestination
include Google::Apis::Core::Hashable
# Required. The Google Cloud Storage URIs for the output. A URI is of the
# form:
# gs://bucket/object-prefix-or-name
# Whether a prefix or name is used depends on the use case. The requesting
# user must have "write-permission" to the bucket.
# Corresponds to the JSON property `uri`
# @return [String]
attr_accessor :uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@uri = args[:uri] if args.key?(:uri)
end
end
# Google Cloud Storage location for single input.
class GoogleCloudDialogflowV2beta1GcsSource
include Google::Apis::Core::Hashable
@ -2571,34 +2549,6 @@ module Google
end
end
# Request for generating knowledge service document for specified knowledge
# type with provided training dataset.
class GoogleCloudDialogflowV2beta1GenerateDocumentRequest
include Google::Apis::Core::Hashable
# The knowledge type of the smart messaging document. Currently this field
# should only be SMART_REPLY, in the future we will also add knowledge_type
# SMART_COMPOSE.
# Corresponds to the JSON property `knowledgeType`
# @return [String]
attr_accessor :knowledge_type
# InputDataset used to create smart messaging candidate document.
# Corresponds to the JSON property `trainingDatasets`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDatasets]
attr_accessor :training_datasets
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@knowledge_type = args[:knowledge_type] if args.key?(:knowledge_type)
@training_datasets = args[:training_datasets] if args.key?(:training_datasets)
end
end
# The request message for Agents.ImportAgent.
class GoogleCloudDialogflowV2beta1ImportAgentRequest
include Google::Apis::Core::Hashable
@ -2771,26 +2721,6 @@ module Google
end
end
# InputDataset used to create smart messaging candidate document.
class GoogleCloudDialogflowV2beta1InputDatasets
include Google::Apis::Core::Hashable
# Required. ConversationDataset resource name. Format:
# `projects/<Project ID>/conversationDatasets/<Conversation Dataset ID>`
# Corresponds to the JSON property `dataset`
# @return [Array<String>]
attr_accessor :dataset
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dataset = args[:dataset] if args.key?(:dataset)
end
end
# Represents an intent.
# Intents convert a number of user expressions or patterns into an action. An
# action is an extraction of a user command or sentence semantics.
@ -5134,6 +5064,27 @@ module Google
end
end
# Metadata for smart reply models.
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
include Google::Apis::Core::Hashable
# Optional. Type of the article suggestion model. The available values are:
# * `smart-reply-dual-encoder-model-1` - (default) Smart Reply Dual Encoder
# model.
# Corresponds to the JSON property `modelType`
# @return [String]
attr_accessor :model_type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@model_type = args[:model_type] if args.key?(:model_type)
end
end
# Hints for the speech recognizer to help with recognition in a specific
# conversation state.
class GoogleCloudDialogflowV2beta1SpeechContext

View File

@ -382,30 +382,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ExportDocumentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1GcsDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1GcsSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1GenerateDocumentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1ImportAgentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -424,12 +406,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1InputDatasets
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1Intent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -802,6 +778,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1SpeechContext
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -904,6 +886,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_expansion_mode, as: 'autoExpansionMode'
property :display_name, as: 'displayName'
property :enable_fuzzy_extraction, as: 'enableFuzzyExtraction'
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity::Representation
property :kind, as: 'kind'
@ -1411,6 +1394,8 @@ module Google
property :display_name, as: 'displayName'
property :name, as: 'name'
property :smart_reply_model_metadata, as: 'smartReplyModelMetadata', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata::Representation
property :state, as: 'state'
end
end
@ -1462,6 +1447,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_expansion_mode, as: 'autoExpansionMode'
property :display_name, as: 'displayName'
property :enable_fuzzy_extraction, as: 'enableFuzzyExtraction'
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity::Representation
property :kind, as: 'kind'
@ -1509,21 +1495,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1ExportDocumentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsDestination, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsDestination::Representation
end
end
class GoogleCloudDialogflowV2beta1GcsDestination
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudDialogflowV2beta1GcsSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1531,15 +1502,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1GenerateDocumentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :knowledge_type, as: 'knowledgeType'
property :training_datasets, as: 'trainingDatasets', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDatasets, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDatasets::Representation
end
end
class GoogleCloudDialogflowV2beta1ImportAgentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1571,13 +1533,6 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1InputDatasets
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :dataset, as: 'dataset'
end
end
class GoogleCloudDialogflowV2beta1Intent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2213,6 +2168,13 @@ module Google
end
end
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :model_type, as: 'modelType'
end
end
class GoogleCloudDialogflowV2beta1SpeechContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -2657,81 +2657,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Exports a smart messaging candidate document into the specified
# destination.
# Operation <response: Document,
# metadata: KnowledgeOperationMetadata>
# @param [String] name
# Required. The name of the document to export.
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
# ID>/documents/<Document ID>`.
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportDocumentRequest] google_cloud_dialogflow_v2beta1_export_document_request_object
# @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::GoogleLongrunningOperation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
#
# @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 export_project_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_export_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+name}:export', options)
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportDocumentRequest::Representation
command.request_object = google_cloud_dialogflow_v2beta1_export_document_request_object
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
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
# Creates a knowledge service document for specified knowledge type
# using provided training data.
# Operation <response: response: Document,
# metadata: SmartMessagingWhitelistOperationMetadata>
# @param [String] parent
# Required. The knowledge base to create a document for.
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateDocumentRequest] google_cloud_dialogflow_v2beta1_generate_document_request_object
# @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::GoogleLongrunningOperation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
#
# @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 generate_project_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_generate_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+parent}/documents:generate', options)
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateDocumentRequest::Representation
command.request_object = google_cloud_dialogflow_v2beta1_generate_document_request_object
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
command.params['parent'] = parent unless parent.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 specified document.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
@ -4773,6 +4698,45 @@ module Google
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server
# makes a best effort to cancel the operation, but success is not
# guaranteed. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
# @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::GoogleProtobufEmpty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
#
# @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 cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+name}:cancel', options)
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
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
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
@ -4852,6 +4816,45 @@ module Google
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server
# makes a best effort to cancel the operation, but success is not
# guaranteed. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
# @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::GoogleProtobufEmpty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
#
# @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 cancel_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+name}:cancel', options)
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
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
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.

View File

@ -1,34 +0,0 @@
# 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/healthcare_v1alpha2/service.rb'
require 'google/apis/healthcare_v1alpha2/classes.rb'
require 'google/apis/healthcare_v1alpha2/representations.rb'
module Google
module Apis
# Cloud Healthcare API
#
# Manage, store, and access healthcare data in Google Cloud Platform.
#
# @see https://cloud.google.com/healthcare
module HealthcareV1alpha2
VERSION = 'V1alpha2'
REVISION = '20190901'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
end
end
end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -141,9 +141,11 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# 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.
# Corresponds to the JSON property `requestedPolicyVersion`
# @return [Fixnum]
attr_accessor :requested_policy_version
@ -218,7 +220,12 @@ module Google
# @return [String]
attr_accessor :etag
# Deprecated.
# Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3
VERSION = 'V3'
REVISION = '20190820'
REVISION = '20190912'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3p1beta1
VERSION = 'V3p1beta1'
REVISION = '20190820'
REVISION = '20190912'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'