Autogenerated update (2019-05-21)
Update: - cloudfunctions_v1 - cloudfunctions_v1beta2 - cloudiot_v1 - compute_alpha - compute_beta - compute_v1 - jobs_v3p1beta1 - run_v1alpha1 - spanner_v1
This commit is contained in:
parent
3d591ea893
commit
78579fb1a6
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/functions
|
||||
module CloudfunctionsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190406'
|
||||
REVISION = '20190508'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -837,7 +837,7 @@ module Google
|
|||
|
||||
# The server-assigned name, which is only unique within the same service that
|
||||
# originally returns it. If you use the default HTTP mapping, the
|
||||
# `name` should have the format of `operations/some/unique/name`.
|
||||
# `name` should be a resource name ending with `operations/`unique_id``.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/functions
|
||||
module CloudfunctionsV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20190406'
|
||||
REVISION = '20190508'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -629,7 +629,7 @@ module Google
|
|||
|
||||
# The server-assigned name, which is only unique within the same service that
|
||||
# originally returns it. If you use the default HTTP mapping, the
|
||||
# `name` should have the format of `operations/some/unique/name`.
|
||||
# `name` should be a resource name ending with `operations/`unique_id``.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/iot
|
||||
module CloudiotV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190409'
|
||||
REVISION = '20190516'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -780,40 +780,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Associates the device with the gateway.
|
||||
# @param [String] parent
|
||||
# The name of the registry. For example,
|
||||
# `projects/example-project/locations/us-central1/registries/my-registry`.
|
||||
# @param [Google::Apis::CloudiotV1::BindDeviceToGatewayRequest] bind_device_to_gateway_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::CloudiotV1::BindDeviceToGatewayResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudiotV1::BindDeviceToGatewayResponse]
|
||||
#
|
||||
# @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 bind_group_device_to_gateway(parent, bind_device_to_gateway_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}:bindDeviceToGateway', options)
|
||||
command.request_representation = Google::Apis::CloudiotV1::BindDeviceToGatewayRequest::Representation
|
||||
command.request_object = bind_device_to_gateway_request_object
|
||||
command.response_representation = Google::Apis::CloudiotV1::BindDeviceToGatewayResponse::Representation
|
||||
command.response_class = Google::Apis::CloudiotV1::BindDeviceToGatewayResponse
|
||||
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
|
||||
|
||||
# Gets the access control policy for a resource.
|
||||
# Returns an empty policy if the resource exists and does not have a policy
|
||||
# set.
|
||||
|
@ -921,76 +887,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes the association between the device and the gateway.
|
||||
# @param [String] parent
|
||||
# The name of the registry. For example,
|
||||
# `projects/example-project/locations/us-central1/registries/my-registry`.
|
||||
# @param [Google::Apis::CloudiotV1::UnbindDeviceFromGatewayRequest] unbind_device_from_gateway_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::CloudiotV1::UnbindDeviceFromGatewayResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudiotV1::UnbindDeviceFromGatewayResponse]
|
||||
#
|
||||
# @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 unbind_group_device_from_gateway(parent, unbind_device_from_gateway_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}:unbindDeviceFromGateway', options)
|
||||
command.request_representation = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayRequest::Representation
|
||||
command.request_object = unbind_device_from_gateway_request_object
|
||||
command.response_representation = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayResponse::Representation
|
||||
command.response_class = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayResponse
|
||||
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
|
||||
|
||||
# Gets details about a device.
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [String] field_mask
|
||||
# The fields of the `Device` resource to be returned in the response. If the
|
||||
# field mask is unset or empty, all fields are returned.
|
||||
# @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::CloudiotV1::Device] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudiotV1::Device]
|
||||
#
|
||||
# @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_project_location_registry_group_device(name, field_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
|
||||
command.response_class = Google::Apis::CloudiotV1::Device
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fieldMask'] = field_mask unless field_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
|
||||
|
||||
# List devices in a device registry.
|
||||
# @param [String] parent
|
||||
# The device registry path. Required. For example,
|
||||
|
@ -1062,209 +958,6 @@ module Google
|
|||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Modifies the configuration for the device, which is eventually sent from
|
||||
# the Cloud IoT Core servers. Returns the modified configuration version and
|
||||
# its metadata.
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest] modify_cloud_to_device_config_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::CloudiotV1::DeviceConfig] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudiotV1::DeviceConfig]
|
||||
#
|
||||
# @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 modify_project_location_registry_group_device_cloud_to_device_config(name, modify_cloud_to_device_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:modifyCloudToDeviceConfig', options)
|
||||
command.request_representation = Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest::Representation
|
||||
command.request_object = modify_cloud_to_device_config_request_object
|
||||
command.response_representation = Google::Apis::CloudiotV1::DeviceConfig::Representation
|
||||
command.response_class = Google::Apis::CloudiotV1::DeviceConfig
|
||||
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
|
||||
|
||||
# Updates a device.
|
||||
# @param [String] name
|
||||
# The resource path name. For example,
|
||||
# `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or
|
||||
# `projects/p1/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# When `name` is populated as a response from the service, it always ends
|
||||
# in the device numeric ID.
|
||||
# @param [Google::Apis::CloudiotV1::Device] device_object
|
||||
# @param [String] update_mask
|
||||
# Only updates the `device` fields indicated by this mask.
|
||||
# The field mask must not be empty, and it must not contain fields that
|
||||
# are immutable or only set by the server.
|
||||
# Mutable top-level fields: `credentials`, `blocked`, and `metadata`
|
||||
# @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::CloudiotV1::Device] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudiotV1::Device]
|
||||
#
|
||||
# @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 patch_project_location_registry_group_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1/{+name}', options)
|
||||
command.request_representation = Google::Apis::CloudiotV1::Device::Representation
|
||||
command.request_object = device_object
|
||||
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
|
||||
command.response_class = Google::Apis::CloudiotV1::Device
|
||||
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
|
||||
|
||||
# Sends a command to the specified device. In order for a device to be able
|
||||
# to receive commands, it must:
|
||||
# 1) be connected to Cloud IoT Core using the MQTT protocol, and
|
||||
# 2) be subscribed to the group of MQTT topics specified by
|
||||
# /devices/`device-id`/commands/#. This subscription will receive commands
|
||||
# at the top-level topic /devices/`device-id`/commands as well as commands
|
||||
# for subfolders, like /devices/`device-id`/commands/subfolder.
|
||||
# Note that subscribing to specific subfolders is not supported.
|
||||
# If the command could not be delivered to the device, this method will
|
||||
# return an error; in particular, if the device is not subscribed, this
|
||||
# method will return FAILED_PRECONDITION. Otherwise, this method will
|
||||
# return OK. If the subscription is QoS 1, at least once delivery will be
|
||||
# guaranteed; for QoS 0, no acknowledgment will be expected from the device.
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [Google::Apis::CloudiotV1::SendCommandToDeviceRequest] send_command_to_device_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::CloudiotV1::SendCommandToDeviceResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudiotV1::SendCommandToDeviceResponse]
|
||||
#
|
||||
# @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 send_project_location_registry_group_device_command_to_device(name, send_command_to_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:sendCommandToDevice', options)
|
||||
command.request_representation = Google::Apis::CloudiotV1::SendCommandToDeviceRequest::Representation
|
||||
command.request_object = send_command_to_device_request_object
|
||||
command.response_representation = Google::Apis::CloudiotV1::SendCommandToDeviceResponse::Representation
|
||||
command.response_class = Google::Apis::CloudiotV1::SendCommandToDeviceResponse
|
||||
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 last few versions of the device configuration in descending
|
||||
# order (i.e.: newest first).
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [Fixnum] num_versions
|
||||
# The number of versions to list. Versions are listed in decreasing order of
|
||||
# the version number. The maximum number of versions retained is 10. If this
|
||||
# value is zero, it will return all the versions available.
|
||||
# @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::CloudiotV1::ListDeviceConfigVersionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse]
|
||||
#
|
||||
# @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_project_location_registry_group_device_config_versions(name, num_versions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}/configVersions', options)
|
||||
command.response_representation = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['numVersions'] = num_versions unless num_versions.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 last few versions of the device state in descending order (i.e.:
|
||||
# newest first).
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [Fixnum] num_states
|
||||
# The number of states to list. States are listed in descending order of
|
||||
# update time. The maximum number of states retained is 10. If this
|
||||
# value is zero, it will return all the states available.
|
||||
# @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::CloudiotV1::ListDeviceStatesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudiotV1::ListDeviceStatesResponse]
|
||||
#
|
||||
# @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_project_location_registry_group_device_states(name, num_states: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}/states', options)
|
||||
command.response_representation = Google::Apis::CloudiotV1::ListDeviceStatesResponse::Representation
|
||||
command.response_class = Google::Apis::CloudiotV1::ListDeviceStatesResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['numStates'] = num_states unless num_states.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
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20190403'
|
||||
REVISION = '20190416'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -11872,6 +11872,11 @@ module Google
|
|||
attr_accessor :is_stable
|
||||
alias_method :is_stable?, :is_stable
|
||||
|
||||
# [Output Only] Stateful status of the given Instance Group Manager.
|
||||
# Corresponds to the JSON property `stateful`
|
||||
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStateful]
|
||||
attr_accessor :stateful
|
||||
|
||||
# [Output Only] A status of consistency of Instances' versions with their target
|
||||
# version specified by version field on Instance Group Manager.
|
||||
# Corresponds to the JSON property `versionTarget`
|
||||
|
@ -11885,10 +11890,34 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@is_stable = args[:is_stable] if args.key?(:is_stable)
|
||||
@stateful = args[:stateful] if args.key?(:stateful)
|
||||
@version_target = args[:version_target] if args.key?(:version_target)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class InstanceGroupManagerStatusStateful
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A bit indicating whether the managed instance group is stateful,
|
||||
# i.e. has any disks in Stateful Policy or at least one per-instance config.
|
||||
# This is determined based on the user intent, the group may be reported as not
|
||||
# stateful even when there is still some preserved state on managed instances.
|
||||
# Corresponds to the JSON property `isStateful`
|
||||
# @return [Boolean]
|
||||
attr_accessor :is_stateful
|
||||
alias_method :is_stateful?, :is_stateful
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@is_stateful = args[:is_stateful] if args.key?(:is_stateful)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class InstanceGroupManagerStatusVersionTarget
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -1444,6 +1444,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupManagerStatusStateful
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupManagerStatusVersionTarget
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -7805,11 +7811,20 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :is_stable, as: 'isStable'
|
||||
property :stateful, as: 'stateful', class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStateful, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStateful::Representation
|
||||
|
||||
property :version_target, as: 'versionTarget', class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusVersionTarget, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusVersionTarget::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceGroupManagerStatusStateful
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :is_stateful, as: 'isStateful'
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceGroupManagerStatusVersionTarget
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -47,7 +47,7 @@ module Google
|
|||
attr_accessor :user_ip
|
||||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'compute/alpha/projects/')
|
||||
super('https://compute.googleapis.com/', 'compute/alpha/projects/')
|
||||
@batch_path = 'batch/compute/alpha'
|
||||
end
|
||||
|
||||
|
@ -2534,6 +2534,7 @@ module Google
|
|||
# Name of the persistent disk to snapshot.
|
||||
# @param [Google::Apis::ComputeAlpha::Snapshot] snapshot_object
|
||||
# @param [Boolean] guest_flush
|
||||
# Application consistent snapshot (ie. VSS).
|
||||
# @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
|
||||
|
@ -19397,6 +19398,7 @@ module Google
|
|||
# Name of the regional persistent disk to snapshot.
|
||||
# @param [Google::Apis::ComputeAlpha::Snapshot] snapshot_object
|
||||
# @param [Boolean] guest_flush
|
||||
# Application consistent snapshot (ie. VSS).
|
||||
# @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
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeBeta
|
||||
VERSION = 'Beta'
|
||||
REVISION = '20190403'
|
||||
REVISION = '20190416'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -47,7 +47,7 @@ module Google
|
|||
attr_accessor :user_ip
|
||||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'compute/beta/projects/')
|
||||
super('https://compute.googleapis.com/', 'compute/beta/projects/')
|
||||
@batch_path = 'batch/compute/beta'
|
||||
end
|
||||
|
||||
|
@ -2418,6 +2418,7 @@ module Google
|
|||
# Name of the persistent disk to snapshot.
|
||||
# @param [Google::Apis::ComputeBeta::Snapshot] snapshot_object
|
||||
# @param [Boolean] guest_flush
|
||||
# Application consistent snapshot (ie. VSS).
|
||||
# @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
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190403'
|
||||
REVISION = '20190416'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -47,7 +47,7 @@ module Google
|
|||
attr_accessor :user_ip
|
||||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'compute/v1/projects/')
|
||||
super('https://compute.googleapis.com/', 'compute/v1/projects/')
|
||||
@batch_path = 'batch/compute/v1'
|
||||
end
|
||||
|
||||
|
@ -2185,6 +2185,7 @@ module Google
|
|||
# Name of the persistent disk to snapshot.
|
||||
# @param [Google::Apis::ComputeV1::Snapshot] snapshot_object
|
||||
# @param [Boolean] guest_flush
|
||||
# Application consistent snapshot (ie. VSS).
|
||||
# @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
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
module JobsV3p1beta1
|
||||
VERSION = 'V3p1beta1'
|
||||
REVISION = '20190509'
|
||||
REVISION = '20190519'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1744,7 +1744,7 @@ module Google
|
|||
|
||||
# Optional.
|
||||
# This filter specifies a list of job names to be excluded during search.
|
||||
# At most 200 excluded job names are allowed.
|
||||
# At most 400 excluded job names are allowed.
|
||||
# Corresponds to the JSON property `excludedJobs`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :excluded_jobs
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/run/
|
||||
module RunV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20190508'
|
||||
REVISION = '20190516'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -3524,6 +3524,17 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :configuration_name
|
||||
|
||||
# LatestRevision may be optionally provided to indicate that the latest
|
||||
# ready Revision of the Configuration should be used for this traffic
|
||||
# target. When provided LatestRevision must be true if RevisionName is
|
||||
# empty; it must be false when RevisionName is non-empty.
|
||||
# Not currently supported in Cloud Run.
|
||||
# +optional
|
||||
# Corresponds to the JSON property `latestRevision`
|
||||
# @return [Boolean]
|
||||
attr_accessor :latest_revision
|
||||
alias_method :latest_revision?, :latest_revision
|
||||
|
||||
# Name is optionally used to expose a dedicated hostname for referencing this
|
||||
# target exclusively.
|
||||
# Not currently supported by Cloud Run.
|
||||
|
@ -3547,6 +3558,23 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :revision_name
|
||||
|
||||
# Tag is optionally used to expose a dedicated url for referencing
|
||||
# this target exclusively.
|
||||
# Not currently supported in Cloud Run.
|
||||
# +optional
|
||||
# Corresponds to the JSON property `tag`
|
||||
# @return [String]
|
||||
attr_accessor :tag
|
||||
|
||||
# Output only. URL displays the URL for accessing named traffic targets. URL
|
||||
# is displayed in status, and is disallowed on spec. URL must contain a
|
||||
# scheme (e.g. http://) and a hostname, but may not contain anything else
|
||||
# (e.g. basic auth, url path, etc.
|
||||
# Not currently supported in Cloud Run.
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -3554,9 +3582,12 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@configuration_name = args[:configuration_name] if args.key?(:configuration_name)
|
||||
@latest_revision = args[:latest_revision] if args.key?(:latest_revision)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@percent = args[:percent] if args.key?(:percent)
|
||||
@revision_name = args[:revision_name] if args.key?(:revision_name)
|
||||
@tag = args[:tag] if args.key?(:tag)
|
||||
@url = args[:url] if args.key?(:url)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1331,9 +1331,12 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :configuration_name, as: 'configurationName'
|
||||
property :latest_revision, as: 'latestRevision'
|
||||
property :name, as: 'name'
|
||||
property :percent, as: 'percent'
|
||||
property :revision_name, as: 'revisionName'
|
||||
property :tag, as: 'tag'
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/spanner/
|
||||
module SpannerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190419'
|
||||
REVISION = '20190503'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1673,7 +1673,7 @@ module Google
|
|||
|
||||
# The server-assigned name, which is only unique within the same service that
|
||||
# originally returns it. If you use the default HTTP mapping, the
|
||||
# `name` should have the format of `operations/some/unique/name`.
|
||||
# `name` should be a resource name ending with `operations/`unique_id``.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
|
Loading…
Reference in New Issue