Autogenerated update (2020-09-19)

Update:
- cloudidentity_v1
- cloudtasks_v2beta3
- customsearch_v1
- monitoring_v1
- monitoring_v3
- pubsub_v1
- redis_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2020-09-19 00:39:29 +00:00
parent 70ca22e030
commit f6e2d4c185
21 changed files with 253 additions and 575 deletions

View File

@ -21939,6 +21939,15 @@
"/cloudidentity:v1/Membership/updateTime": update_time "/cloudidentity:v1/Membership/updateTime": update_time
"/cloudidentity:v1/MembershipRole": membership_role "/cloudidentity:v1/MembershipRole": membership_role
"/cloudidentity:v1/MembershipRole/name": name "/cloudidentity:v1/MembershipRole/name": name
"/cloudidentity:v1/ModifyMembershipRolesRequest": modify_membership_roles_request
"/cloudidentity:v1/ModifyMembershipRolesRequest/addRoles": add_roles
"/cloudidentity:v1/ModifyMembershipRolesRequest/addRoles/add_role": add_role
"/cloudidentity:v1/ModifyMembershipRolesRequest/removeRoles": remove_roles
"/cloudidentity:v1/ModifyMembershipRolesRequest/removeRoles/remove_role": remove_role
"/cloudidentity:v1/ModifyMembershipRolesRequest/updateRolesParams": update_roles_params
"/cloudidentity:v1/ModifyMembershipRolesRequest/updateRolesParams/update_roles_param": update_roles_param
"/cloudidentity:v1/ModifyMembershipRolesResponse": modify_membership_roles_response
"/cloudidentity:v1/ModifyMembershipRolesResponse/membership": membership
"/cloudidentity:v1/Operation": operation "/cloudidentity:v1/Operation": operation
"/cloudidentity:v1/Operation/done": done "/cloudidentity:v1/Operation/done": done
"/cloudidentity:v1/Operation/error": error "/cloudidentity:v1/Operation/error": error
@ -21957,6 +21966,9 @@
"/cloudidentity:v1/Status/details/detail": detail "/cloudidentity:v1/Status/details/detail": detail
"/cloudidentity:v1/Status/details/detail/detail": detail "/cloudidentity:v1/Status/details/detail/detail": detail
"/cloudidentity:v1/Status/message": message "/cloudidentity:v1/Status/message": message
"/cloudidentity:v1/UpdateMembershipRolesParams": update_membership_roles_params
"/cloudidentity:v1/UpdateMembershipRolesParams/fieldMask": field_mask
"/cloudidentity:v1/UpdateMembershipRolesParams/membershipRole": membership_role
"/cloudidentity:v1/WipeDeviceResponse": wipe_device_response "/cloudidentity:v1/WipeDeviceResponse": wipe_device_response
"/cloudidentity:v1/WipeDeviceResponse/device": device "/cloudidentity:v1/WipeDeviceResponse/device": device
"/cloudidentity:v1/WipeDeviceUserResponse": wipe_device_user_response "/cloudidentity:v1/WipeDeviceUserResponse": wipe_device_user_response
@ -22050,6 +22062,8 @@
"/cloudidentity:v1/cloudidentity.groups.memberships.lookup/memberKey.id": member_key_id "/cloudidentity:v1/cloudidentity.groups.memberships.lookup/memberKey.id": member_key_id
"/cloudidentity:v1/cloudidentity.groups.memberships.lookup/memberKey.namespace": member_key_namespace "/cloudidentity:v1/cloudidentity.groups.memberships.lookup/memberKey.namespace": member_key_namespace
"/cloudidentity:v1/cloudidentity.groups.memberships.lookup/parent": parent "/cloudidentity:v1/cloudidentity.groups.memberships.lookup/parent": parent
"/cloudidentity:v1/cloudidentity.groups.memberships.modifyMembershipRoles": modify_membership_roles
"/cloudidentity:v1/cloudidentity.groups.memberships.modifyMembershipRoles/name": name
"/cloudidentity:v1/cloudidentity.groups.patch": patch_group "/cloudidentity:v1/cloudidentity.groups.patch": patch_group
"/cloudidentity:v1/cloudidentity.groups.patch/name": name "/cloudidentity:v1/cloudidentity.groups.patch/name": name
"/cloudidentity:v1/cloudidentity.groups.patch/updateMask": update_mask "/cloudidentity:v1/cloudidentity.groups.patch/updateMask": update_mask
@ -25789,6 +25803,7 @@
"/cloudtasks:v2beta3/Attempt/responseTime": response_time "/cloudtasks:v2beta3/Attempt/responseTime": response_time
"/cloudtasks:v2beta3/Attempt/scheduleTime": schedule_time "/cloudtasks:v2beta3/Attempt/scheduleTime": schedule_time
"/cloudtasks:v2beta3/Binding": binding "/cloudtasks:v2beta3/Binding": binding
"/cloudtasks:v2beta3/Binding/bindingId": binding_id
"/cloudtasks:v2beta3/Binding/condition": condition "/cloudtasks:v2beta3/Binding/condition": condition
"/cloudtasks:v2beta3/Binding/members": members "/cloudtasks:v2beta3/Binding/members": members
"/cloudtasks:v2beta3/Binding/members/member": member "/cloudtasks:v2beta3/Binding/members/member": member
@ -117863,6 +117878,7 @@
"/pubsub:v1/AcknowledgeRequest/ackIds": ack_ids "/pubsub:v1/AcknowledgeRequest/ackIds": ack_ids
"/pubsub:v1/AcknowledgeRequest/ackIds/ack_id": ack_id "/pubsub:v1/AcknowledgeRequest/ackIds/ack_id": ack_id
"/pubsub:v1/Binding": binding "/pubsub:v1/Binding": binding
"/pubsub:v1/Binding/bindingId": binding_id
"/pubsub:v1/Binding/condition": condition "/pubsub:v1/Binding/condition": condition
"/pubsub:v1/Binding/members": members "/pubsub:v1/Binding/members": members
"/pubsub:v1/Binding/members/member": member "/pubsub:v1/Binding/members/member": member

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/ # @see https://cloud.google.com/identity/
module CloudidentityV1 module CloudidentityV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200912' REVISION = '20200915'
# See your device details # See your device details
AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup' AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup'

View File

@ -1119,6 +1119,64 @@ module Google
end end
end end
# The request message for MembershipsService.ModifyMembershipRoles.
class ModifyMembershipRolesRequest
include Google::Apis::Core::Hashable
# The `MembershipRole`s to be added. Adding or removing roles in the same
# request as updating roles is not supported. Must not be set if `
# update_roles_params` is set.
# Corresponds to the JSON property `addRoles`
# @return [Array<Google::Apis::CloudidentityV1::MembershipRole>]
attr_accessor :add_roles
# The `name`s of the `MembershipRole`s to be removed. Adding or removing roles
# in the same request as updating roles is not supported. It is not possible to
# remove the `MEMBER` `MembershipRole`. If you wish to delete a `Membership`,
# call MembershipsService.DeleteMembership instead. Must not contain `MEMBER`.
# Must not be set if `update_roles_params` is set.
# Corresponds to the JSON property `removeRoles`
# @return [Array<String>]
attr_accessor :remove_roles
# The `MembershipRole`s to be updated. Updating roles in the same request as
# adding or removing roles is not supported. Must not be set if either `
# add_roles` or `remove_roles` is set.
# Corresponds to the JSON property `updateRolesParams`
# @return [Array<Google::Apis::CloudidentityV1::UpdateMembershipRolesParams>]
attr_accessor :update_roles_params
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@add_roles = args[:add_roles] if args.key?(:add_roles)
@remove_roles = args[:remove_roles] if args.key?(:remove_roles)
@update_roles_params = args[:update_roles_params] if args.key?(:update_roles_params)
end
end
# The response message for MembershipsService.ModifyMembershipRoles.
class ModifyMembershipRolesResponse
include Google::Apis::Core::Hashable
# Resource representing a Membership within a Group
# Corresponds to the JSON property `membership`
# @return [Google::Apis::CloudidentityV1::Membership]
attr_accessor :membership
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@membership = args[:membership] if args.key?(:membership)
end
end
# This resource represents a long-running operation that is the result of a # This resource represents a long-running operation that is the result of a
# network API call. # network API call.
class Operation class Operation
@ -1245,6 +1303,32 @@ module Google
@message = args[:message] if args.key?(:message) @message = args[:message] if args.key?(:message)
end end
end end
# The details of an update to a `MembershipRole`.
class UpdateMembershipRolesParams
include Google::Apis::Core::Hashable
# The fully-qualified names of fields to update. May only contain the field `
# expiry_detail`.
# Corresponds to the JSON property `fieldMask`
# @return [String]
attr_accessor :field_mask
# Resource representing a role within a Membership.
# Corresponds to the JSON property `membershipRole`
# @return [Google::Apis::CloudidentityV1::MembershipRole]
attr_accessor :membership_role
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@field_mask = args[:field_mask] if args.key?(:field_mask)
@membership_role = args[:membership_role] if args.key?(:membership_role)
end
end
end end
end end
end end

View File

@ -196,6 +196,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ModifyMembershipRolesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ModifyMembershipRolesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Operation class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -214,6 +226,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class UpdateMembershipRolesParams
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EntityKey class EntityKey
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -505,6 +523,25 @@ module Google
end end
end end
class ModifyMembershipRolesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :add_roles, as: 'addRoles', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
collection :remove_roles, as: 'removeRoles'
collection :update_roles_params, as: 'updateRolesParams', class: Google::Apis::CloudidentityV1::UpdateMembershipRolesParams, decorator: Google::Apis::CloudidentityV1::UpdateMembershipRolesParams::Representation
end
end
class ModifyMembershipRolesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :membership, as: 'membership', class: Google::Apis::CloudidentityV1::Membership, decorator: Google::Apis::CloudidentityV1::Membership::Representation
end
end
class Operation class Operation
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -534,6 +571,15 @@ module Google
property :message, as: 'message' property :message, as: 'message'
end end
end end
class UpdateMembershipRolesParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :field_mask, as: 'fieldMask'
property :membership_role, as: 'membershipRole', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
end
end
end end
end end
end end

View File

@ -1248,6 +1248,41 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Modifies the `MembershipRole`s of a `Membership`.
# @param [String] name
# Required. The [resource name](https://cloud.google.com/apis/design/
# resource_names) of the `Membership` whose roles are to be modified. Must be of
# the form `groups/`group_id`/memberships/`membership_id``.
# @param [Google::Apis::CloudidentityV1::ModifyMembershipRolesRequest] modify_membership_roles_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::CloudidentityV1::ModifyMembershipRolesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudidentityV1::ModifyMembershipRolesResponse]
#
# @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_membership_roles(name, modify_membership_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:modifyMembershipRoles', options)
command.request_representation = Google::Apis::CloudidentityV1::ModifyMembershipRolesRequest::Representation
command.request_object = modify_membership_roles_request_object
command.response_representation = Google::Apis::CloudidentityV1::ModifyMembershipRolesResponse::Representation
command.response_class = Google::Apis::CloudidentityV1::ModifyMembershipRolesResponse
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
protected protected
def apply_command_defaults(command) def apply_command_defaults(command)

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/ # @see https://cloud.google.com/tasks/
module CloudtasksV2beta3 module CloudtasksV2beta3
VERSION = 'V2beta3' VERSION = 'V2beta3'
REVISION = '20200825' REVISION = '20200909'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -289,6 +289,12 @@ module Google
class Binding class Binding
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A client-specified ID for this binding. Expected to be globally unique to
# support the internal bindings-by-ID API.
# Corresponds to the JSON property `bindingId`
# @return [String]
attr_accessor :binding_id
# Represents a textual expression in the Common Expression Language (CEL) syntax. # Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are # CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec. Example (Comparison): title: # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@ -350,6 +356,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@binding_id = args[:binding_id] if args.key?(:binding_id)
@condition = args[:condition] if args.key?(:condition) @condition = args[:condition] if args.key?(:condition)
@members = args[:members] if args.key?(:members) @members = args[:members] if args.key?(:members)
@role = args[:role] if args.key?(:role) @role = args[:role] if args.key?(:role)

View File

@ -252,6 +252,7 @@ module Google
class Binding class Binding
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :binding_id, as: 'bindingId'
property :condition, as: 'condition', class: Google::Apis::CloudtasksV2beta3::Expr, decorator: Google::Apis::CloudtasksV2beta3::Expr::Representation property :condition, as: 'condition', class: Google::Apis::CloudtasksV2beta3::Expr, decorator: Google::Apis::CloudtasksV2beta3::Expr::Representation
collection :members, as: 'members' collection :members, as: 'members'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/custom-search/v1/introduction # @see https://developers.google.com/custom-search/v1/introduction
module CustomsearchV1 module CustomsearchV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200801' REVISION = '20200917'
end end
end end
end end

View File

@ -28,10 +28,10 @@ module Google
# require 'google/apis/customsearch_v1' # require 'google/apis/customsearch_v1'
# #
# Customsearch = Google::Apis::CustomsearchV1 # Alias the module # Customsearch = Google::Apis::CustomsearchV1 # Alias the module
# service = Customsearch::CustomsearchService.new # service = Customsearch::CustomSearchAPIService.new
# #
# @see https://developers.google.com/custom-search/v1/introduction # @see https://developers.google.com/custom-search/v1/introduction
class CustomsearchService < Google::Apis::Core::BaseService class CustomSearchAPIService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token. # quota, and reports. Required unless you provide an OAuth 2.0 token.

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV1 module MonitoringV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200829' REVISION = '20200915'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -240,9 +240,9 @@ module Google
# @return [Google::Apis::MonitoringV1::GridLayout] # @return [Google::Apis::MonitoringV1::GridLayout]
attr_accessor :grid_layout attr_accessor :grid_layout
# A mosaic layout divides the available space into a grid of squares, and # A mosaic layout divides the available space into a grid of blocks, and
# overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid # overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid
# squares and can be placed at arbitrary locations in the grid. # blocks and can be placed at arbitrary locations in the grid.
# Corresponds to the JSON property `mosaicLayout` # Corresponds to the JSON property `mosaicLayout`
# @return [Google::Apis::MonitoringV1::MosaicLayout] # @return [Google::Apis::MonitoringV1::MosaicLayout]
attr_accessor :mosaic_layout attr_accessor :mosaic_layout
@ -524,9 +524,9 @@ module Google
end end
end end
# A mosaic layout divides the available space into a grid of squares, and # A mosaic layout divides the available space into a grid of blocks, and
# overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid # overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid
# squares and can be placed at arbitrary locations in the grid. # blocks and can be placed at arbitrary locations in the grid.
class MosaicLayout class MosaicLayout
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -948,7 +948,7 @@ module Google
class Tile class Tile
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The height of the tile, measured in grid squares. Tiles must have a minimum # The height of the tile, measured in grid blocks. Tiles must have a minimum
# height of 1. # height of 1.
# Corresponds to the JSON property `height` # Corresponds to the JSON property `height`
# @return [Fixnum] # @return [Fixnum]
@ -960,20 +960,20 @@ module Google
# @return [Google::Apis::MonitoringV1::Widget] # @return [Google::Apis::MonitoringV1::Widget]
attr_accessor :widget attr_accessor :widget
# The width of the tile, measured in grid squares. Tiles must have a minimum # The width of the tile, measured in grid blocks. Tiles must have a minimum
# width of 1. # width of 1.
# Corresponds to the JSON property `width` # Corresponds to the JSON property `width`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :width attr_accessor :width
# The zero-indexed position of the tile in grid squares relative to the left # The zero-indexed position of the tile in grid blocks relative to the left edge
# edge of the grid. Tiles must be contained within the specified number of # of the grid. Tiles must be contained within the specified number of columns.
# columns. x_pos cannot be negative. # x_pos cannot be negative.
# Corresponds to the JSON property `xPos` # Corresponds to the JSON property `xPos`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :x_pos attr_accessor :x_pos
# The zero-indexed position of the tile in grid squares relative to the top edge # The zero-indexed position of the tile in grid blocks relative to the top edge
# of the grid. y_pos cannot be negative. # of the grid. y_pos cannot be negative.
# Corresponds to the JSON property `yPos` # Corresponds to the JSON property `yPos`
# @return [Fixnum] # @return [Fixnum]

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV3 module MonitoringV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200827' REVISION = '20200915'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -508,7 +508,7 @@ module Google
attr_accessor :type_instance attr_accessor :type_instance
# The measured values during this time interval. Each value must have a # The measured values during this time interval. Each value must have a
# different dataSourceName. # different data_source_name.
# Corresponds to the JSON property `values` # Corresponds to the JSON property `values`
# @return [Array<Google::Apis::MonitoringV3::CollectdValue>] # @return [Array<Google::Apis::MonitoringV3::CollectdValue>]
attr_accessor :values attr_accessor :values
@ -572,8 +572,8 @@ module Google
class CollectdValue class CollectdValue
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The data source for the collectd value. For example there are two data sources # The data source for the collectd value. For example, there are two data
# for network measurements: "rx" and "tx". # sources for network measurements: "rx" and "tx".
# Corresponds to the JSON property `dataSourceName` # Corresponds to the JSON property `dataSourceName`
# @return [String] # @return [String]
attr_accessor :data_source_name attr_accessor :data_source_name
@ -2897,15 +2897,17 @@ module Google
# A closed time interval. It extends from the start time to the end time, and # A closed time interval. It extends from the start time to the end time, and
# includes both: [startTime, endTime]. Valid time intervals depend on the # includes both: [startTime, endTime]. Valid time intervals depend on the
# MetricKind of the metric value. In no case can the end time be earlier than # MetricKind of the metric value. The end time must not be earlier than the
# the start time. For GAUGE metrics, the startTime value is technically optional; # start time. When writing data points, the start time must not be more than 25
# if no value is specified, the start time defaults to the value of the end # hours in the past and the end time must not be more than five minutes in the
# time, and the interval represents a single point in time. If both start and # future. For GAUGE metrics, the startTime value is technically optional; if no
# end times are specified, they must be identical. Such an interval is valid # value is specified, the start time defaults to the value of the end time, and
# only for GAUGE metrics, which are point-in-time measurements. The end time of # the interval represents a single point in time. If both start and end times
# a new interval must be at least a millisecond after the end time of the # are specified, they must be identical. Such an interval is valid only for
# previous interval. For DELTA metrics, the start time and end time must specify # GAUGE metrics, which are point-in-time measurements. The end time of a new
# a non-zero interval, with subsequent points specifying contiguous and non- # interval must be at least a millisecond after the end time of the previous
# interval. For DELTA metrics, the start time and end time must specify a non-
# zero interval, with subsequent points specifying contiguous and non-
# overlapping intervals. For DELTA metrics, the start time of the next interval # overlapping intervals. For DELTA metrics, the start time of the next interval
# must be at least a millisecond after the end time of the previous interval. # must be at least a millisecond after the end time of the previous interval.
# For CUMULATIVE metrics, the start time and end time must specify a a non-zero # For CUMULATIVE metrics, the start time and end time must specify a a non-zero
@ -2945,15 +2947,17 @@ module Google
# A closed time interval. It extends from the start time to the end time, and # A closed time interval. It extends from the start time to the end time, and
# includes both: [startTime, endTime]. Valid time intervals depend on the # includes both: [startTime, endTime]. Valid time intervals depend on the
# MetricKind of the metric value. In no case can the end time be earlier than # MetricKind of the metric value. The end time must not be earlier than the
# the start time. For GAUGE metrics, the startTime value is technically optional; # start time. When writing data points, the start time must not be more than 25
# if no value is specified, the start time defaults to the value of the end # hours in the past and the end time must not be more than five minutes in the
# time, and the interval represents a single point in time. If both start and # future. For GAUGE metrics, the startTime value is technically optional; if no
# end times are specified, they must be identical. Such an interval is valid # value is specified, the start time defaults to the value of the end time, and
# only for GAUGE metrics, which are point-in-time measurements. The end time of # the interval represents a single point in time. If both start and end times
# a new interval must be at least a millisecond after the end time of the # are specified, they must be identical. Such an interval is valid only for
# previous interval. For DELTA metrics, the start time and end time must specify # GAUGE metrics, which are point-in-time measurements. The end time of a new
# a non-zero interval, with subsequent points specifying contiguous and non- # interval must be at least a millisecond after the end time of the previous
# interval. For DELTA metrics, the start time and end time must specify a non-
# zero interval, with subsequent points specifying contiguous and non-
# overlapping intervals. For DELTA metrics, the start time of the next interval # overlapping intervals. For DELTA metrics, the start time of the next interval
# must be at least a millisecond after the end time of the previous interval. # must be at least a millisecond after the end time of the previous interval.
# For CUMULATIVE metrics, the start time and end time must specify a a non-zero # For CUMULATIVE metrics, the start time and end time must specify a a non-zero
@ -3472,15 +3476,17 @@ module Google
# A closed time interval. It extends from the start time to the end time, and # A closed time interval. It extends from the start time to the end time, and
# includes both: [startTime, endTime]. Valid time intervals depend on the # includes both: [startTime, endTime]. Valid time intervals depend on the
# MetricKind of the metric value. In no case can the end time be earlier than # MetricKind of the metric value. The end time must not be earlier than the
# the start time. For GAUGE metrics, the startTime value is technically optional; # start time. When writing data points, the start time must not be more than 25
# if no value is specified, the start time defaults to the value of the end # hours in the past and the end time must not be more than five minutes in the
# time, and the interval represents a single point in time. If both start and # future. For GAUGE metrics, the startTime value is technically optional; if no
# end times are specified, they must be identical. Such an interval is valid # value is specified, the start time defaults to the value of the end time, and
# only for GAUGE metrics, which are point-in-time measurements. The end time of # the interval represents a single point in time. If both start and end times
# a new interval must be at least a millisecond after the end time of the # are specified, they must be identical. Such an interval is valid only for
# previous interval. For DELTA metrics, the start time and end time must specify # GAUGE metrics, which are point-in-time measurements. The end time of a new
# a non-zero interval, with subsequent points specifying contiguous and non- # interval must be at least a millisecond after the end time of the previous
# interval. For DELTA metrics, the start time and end time must specify a non-
# zero interval, with subsequent points specifying contiguous and non-
# overlapping intervals. For DELTA metrics, the start time of the next interval # overlapping intervals. For DELTA metrics, the start time of the next interval
# must be at least a millisecond after the end time of the previous interval. # must be at least a millisecond after the end time of the previous interval.
# For CUMULATIVE metrics, the start time and end time must specify a a non-zero # For CUMULATIVE metrics, the start time and end time must specify a a non-zero

View File

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

View File

@ -46,6 +46,12 @@ module Google
class Binding class Binding
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A client-specified ID for this binding. Expected to be globally unique to
# support the internal bindings-by-ID API.
# Corresponds to the JSON property `bindingId`
# @return [String]
attr_accessor :binding_id
# Represents a textual expression in the Common Expression Language (CEL) syntax. # Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are # CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec. Example (Comparison): title: # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@ -107,6 +113,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@binding_id = args[:binding_id] if args.key?(:binding_id)
@condition = args[:condition] if args.key?(:condition) @condition = args[:condition] if args.key?(:condition)
@members = args[:members] if args.key?(:members) @members = args[:members] if args.key?(:members)
@role = args[:role] if args.key?(:role) @role = args[:role] if args.key?(:role)

View File

@ -254,6 +254,7 @@ module Google
class Binding class Binding
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :binding_id, as: 'bindingId'
property :condition, as: 'condition', class: Google::Apis::PubsubV1::Expr, decorator: Google::Apis::PubsubV1::Expr::Representation property :condition, as: 'condition', class: Google::Apis::PubsubV1::Expr, decorator: Google::Apis::PubsubV1::Expr::Representation
collection :members, as: 'members' collection :members, as: 'members'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/memorystore/docs/redis/ # @see https://cloud.google.com/memorystore/docs/redis/
module RedisV1 module RedisV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200810' REVISION = '20200916'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -211,392 +211,6 @@ module Google
end end
end end
#
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
include Google::Apis::Core::Hashable
# consumer_defined_name is the name that is set by the consumer. On the other
# hand Name field represents system-assigned id of an instance so consumers are
# not necessarily aware of it. consumer_defined_name is used for notification/UI
# purposes for consumer to recognize their instances.
# Corresponds to the JSON property `consumerDefinedName`
# @return [String]
attr_accessor :consumer_defined_name
# Output only. Timestamp when the resource was created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# Optional. Resource labels to represent user provided metadata. Each label is a
# key-value pair, where both the key and the value are arbitrary strings
# provided by the user.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The MaintenancePolicies that have been attached to the instance. The key must
# be of the type name of the oneof policy name defined in MaintenancePolicy, and
# the referenced policy must define the same policy type. For complete details
# of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
# Corresponds to the JSON property `maintenancePolicyNames`
# @return [Hash<String,String>]
attr_accessor :maintenance_policy_names
# The MaintenanceSchedule contains the scheduling information of published
# maintenance schedule.
# Corresponds to the JSON property `maintenanceSchedules`
# @return [Hash<String,Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
attr_accessor :maintenance_schedules
# Maintenance settings associated with instance. Allows service producers and
# end users to assign settings that controls maintenance on this instance.
# Corresponds to the JSON property `maintenanceSettings`
# @return [Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
attr_accessor :maintenance_settings
# Unique name of the resource. It uses the form: `projects/`project_id`/
# locations/`location_id`/instances/`instance_id``
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. Custom string attributes used primarily to expose producer-
# specific information in monitoring dashboards. See go/get-instance-metadata.
# Corresponds to the JSON property `producerMetadata`
# @return [Hash<String,String>]
attr_accessor :producer_metadata
# Output only. The list of data plane resources provisioned for this instance, e.
# g. compute VMs. See go/get-instance-metadata.
# Corresponds to the JSON property `provisionedResources`
# @return [Array<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
attr_accessor :provisioned_resources
# Link to the SLM instance template. Only populated when updating SLM instances
# via SSA's Actuation service adaptor. Service producers with custom control
# plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they
# should use software_versions.
# Corresponds to the JSON property `slmInstanceTemplate`
# @return [String]
attr_accessor :slm_instance_template
# SloMetadata contains resources required for proper SLO classification of the
# instance.
# Corresponds to the JSON property `sloMetadata`
# @return [Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]
attr_accessor :slo_metadata
# Software versions that are used to deploy this instance. This can be mutated
# by rollout services.
# Corresponds to the JSON property `softwareVersions`
# @return [Hash<String,String>]
attr_accessor :software_versions
# Output only. Current lifecycle state of the resource (e.g. if it's being
# created or ready to use).
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# Output only. ID of the associated GCP tenant project. See go/get-instance-
# metadata.
# Corresponds to the JSON property `tenantProjectId`
# @return [String]
attr_accessor :tenant_project_id
# Output only. Timestamp when the resource was last modified.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
@create_time = args[:create_time] if args.key?(:create_time)
@labels = args[:labels] if args.key?(:labels)
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
@name = args[:name] if args.key?(:name)
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
@slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
@slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
@software_versions = args[:software_versions] if args.key?(:software_versions)
@state = args[:state] if args.key?(:state)
@tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
@update_time = args[:update_time] if args.key?(:update_time)
end
end
# Maintenance schedule which is exposed to customer and potentially end user,
# indicating published upcoming future maintenance schedule
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
include Google::Apis::Core::Hashable
# Can this scheduled update be rescheduled? By default, it's true and API needs
# to do explicitly check whether it's set, if it's set as false explicitly, it's
# false
# Corresponds to the JSON property `canReschedule`
# @return [Boolean]
attr_accessor :can_reschedule
alias_method :can_reschedule?, :can_reschedule
# The scheduled end time for the maintenance.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The rollout management policy this maintenance schedule is associated with.
# When doing reschedule update request, the reschedule should be against this
# given policy.
# Corresponds to the JSON property `rolloutManagementPolicy`
# @return [String]
attr_accessor :rollout_management_policy
# The scheduled start time for the maintenance.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
@end_time = args[:end_time] if args.key?(:end_time)
@rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
@start_time = args[:start_time] if args.key?(:start_time)
end
end
# Maintenance settings associated with instance. Allows service producers and
# end users to assign settings that controls maintenance on this instance.
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
include Google::Apis::Core::Hashable
# Optional. Exclude instance from maintenance. When true, rollout service will
# not attempt maintenance on the instance. Rollout service will include the
# instance in reported rollout progress as not attempted.
# Corresponds to the JSON property `exclude`
# @return [Boolean]
attr_accessor :exclude
alias_method :exclude?, :exclude
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@exclude = args[:exclude] if args.key?(:exclude)
end
end
# Node information for custom per-node SLO implementations. SSA does not support
# per-node SLO, but producers can populate per-node information in SloMetadata
# for custom precomputations. SSA Eligibility Exporter will emit per-node metric
# based on this information.
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
include Google::Apis::Core::Hashable
# By default node is eligible if instance is eligible. But individual node might
# be excluded from SLO by adding entry here. For semantic see SloMetadata.
# exclusions. If both instance and node level exclusions are present for time
# period, the node level's reason will be reported by Eligibility Exporter.
# Corresponds to the JSON property `exclusions`
# @return [Array<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
attr_accessor :exclusions
# The location of the node, if different from instance location.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# The id of the node. This should be equal to SaasInstanceNode.node_id.
# Corresponds to the JSON property `nodeId`
# @return [String]
attr_accessor :node_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@exclusions = args[:exclusions] if args.key?(:exclusions)
@location = args[:location] if args.key?(:location)
@node_id = args[:node_id] if args.key?(:node_id)
end
end
# Describes provisioned dataplane resources.
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
include Google::Apis::Core::Hashable
# Type of the resource. This can be either a GCP resource or a custom one (e.g.
# another cloud provider's VM). For GCP compute resources use singular form of
# the names listed in GCP compute API documentation (https://cloud.google.com/
# compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: '
# compute-instance', 'compute-disk', 'compute-autoscaler'.
# Corresponds to the JSON property `resourceType`
# @return [String]
attr_accessor :resource_type
# URL identifying the resource, e.g. "https://www.googleapis.com/compute/v1/
# projects/...)".
# Corresponds to the JSON property `resourceUrl`
# @return [String]
attr_accessor :resource_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@resource_type = args[:resource_type] if args.key?(:resource_type)
@resource_url = args[:resource_url] if args.key?(:resource_url)
end
end
# SloEligibility is a tuple containing eligibility value: true if an instance is
# eligible for SLO calculation or false if it should be excluded from all SLO-
# related calculations along with a user-defined reason.
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
include Google::Apis::Core::Hashable
# Whether an instance is eligible or ineligible.
# Corresponds to the JSON property `eligible`
# @return [Boolean]
attr_accessor :eligible
alias_method :eligible?, :eligible
# User-defined reason for the current value of instance eligibility. Usually,
# this can be directly mapped to the internal state. An empty reason is allowed.
# Corresponds to the JSON property `reason`
# @return [String]
attr_accessor :reason
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@eligible = args[:eligible] if args.key?(:eligible)
@reason = args[:reason] if args.key?(:reason)
end
end
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
include Google::Apis::Core::Hashable
# Exclusion duration. No restrictions on the possible values. When an ongoing
# operation is taking longer than initially expected, an existing entry in the
# exclusion list can be updated by extending the duration. This is supported by
# the subsystem exporting eligibility data as long as such extension is
# committed at least 10 minutes before the original exclusion expiration -
# otherwise it is possible that there will be "gaps" in the exclusion
# application in the exported timeseries.
# Corresponds to the JSON property `duration`
# @return [String]
attr_accessor :duration
# Human-readable reason for the exclusion. This should be a static string (e.g. "
# Disruptive update in progress") and should not contain dynamically generated
# data (e.g. instance name). Can be left empty.
# Corresponds to the JSON property `reason`
# @return [String]
attr_accessor :reason
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
# that the instance should be excluded from all SLIs defined in the service SLO
# configuration.
# Corresponds to the JSON property `sliName`
# @return [String]
attr_accessor :sli_name
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@duration = args[:duration] if args.key?(:duration)
@reason = args[:reason] if args.key?(:reason)
@sli_name = args[:sli_name] if args.key?(:sli_name)
@start_time = args[:start_time] if args.key?(:start_time)
end
end
# SloMetadata contains resources required for proper SLO classification of the
# instance.
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
include Google::Apis::Core::Hashable
# SloEligibility is a tuple containing eligibility value: true if an instance is
# eligible for SLO calculation or false if it should be excluded from all SLO-
# related calculations along with a user-defined reason.
# Corresponds to the JSON property `eligibility`
# @return [Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
attr_accessor :eligibility
# List of SLO exclusion windows. When multiple entries in the list match (
# matching the exclusion time-window against current time point) the exclusion
# reason used in the first matching entry will be published. It is not needed to
# include expired exclusion in this list, as only the currently applicable
# exclusions are taken into account by the eligibility exporting subsystem (the
# historical state of exclusions will be reflected in the historically produced
# timeseries regardless of the current state). This field can be used to mark
# the instance as temporary ineligible for the purpose of SLO calculation. For
# permanent instance SLO exclusion, use of custom instance eligibility is
# recommended. See 'eligibility' field below.
# Corresponds to the JSON property `exclusions`
# @return [Array<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
attr_accessor :exclusions
# Optional. List of nodes. Some producers need to use per-node metadata to
# calculate SLO. This field allows such producers to publish per-node SLO meta
# data, which will be consumed by SSA Eligibility Exporter and published in the
# form of per node metric to Monarch.
# Corresponds to the JSON property `nodes`
# @return [Array<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
attr_accessor :nodes
# Name of the SLO tier the Instance belongs to. This name will be expected to
# match the tiers specified in the service SLO configuration. Field is mandatory
# and must not be empty.
# Corresponds to the JSON property `tier`
# @return [String]
attr_accessor :tier
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@eligibility = args[:eligibility] if args.key?(:eligibility)
@exclusions = args[:exclusions] if args.key?(:exclusions)
@nodes = args[:nodes] if args.key?(:nodes)
@tier = args[:tier] if args.key?(:tier)
end
end
# Request for Import. # Request for Import.
class ImportInstanceRequest class ImportInstanceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -70,54 +70,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ImportInstanceRequest class ImportInstanceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -246,97 +198,6 @@ module Google
end end
end end
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consumer_defined_name, as: 'consumerDefinedName'
property :create_time, as: 'createTime'
hash :labels, as: 'labels'
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
property :name, as: 'name'
hash :producer_metadata, as: 'producerMetadata'
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
property :slm_instance_template, as: 'slmInstanceTemplate'
property :slo_metadata, as: 'sloMetadata', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
hash :software_versions, as: 'softwareVersions'
property :state, as: 'state'
property :tenant_project_id, as: 'tenantProjectId'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :can_reschedule, as: 'canReschedule'
property :end_time, as: 'endTime'
property :rollout_management_policy, as: 'rolloutManagementPolicy'
property :start_time, as: 'startTime'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exclude, as: 'exclude'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exclusions, as: 'exclusions', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
property :location, as: 'location'
property :node_id, as: 'nodeId'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :resource_type, as: 'resourceType'
property :resource_url, as: 'resourceUrl'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :eligible, as: 'eligible'
property :reason, as: 'reason'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration, as: 'duration'
property :reason, as: 'reason'
property :sli_name, as: 'sliName'
property :start_time, as: 'startTime'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :eligibility, as: 'eligibility', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
collection :exclusions, as: 'exclusions', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
collection :nodes, as: 'nodes', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
property :tier, as: 'tier'
end
end
class ImportInstanceRequest class ImportInstanceRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/ # @see https://devsite.googleplex.com/youtube/partner/docs/v1/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200916' REVISION = '20200918'
# View and manage your assets and associated content on YouTube # View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'