Autogenerated update (2020-10-03)

Update:
- accessapproval_v1
- datafusion_v1
- dataproc_v1
- dataproc_v1beta2
- managedidentities_v1
- managedidentities_v1alpha1
- managedidentities_v1beta1
- monitoring_v3
- osconfig_v1beta
- storage_v1
This commit is contained in:
Google APIs 2020-10-03 00:39:31 +00:00
parent b2d4b24a19
commit 6afeaf7a56
27 changed files with 114 additions and 86 deletions

View File

@ -110770,6 +110770,7 @@
"/managedidentities:v1/AttachTrustRequest": attach_trust_request "/managedidentities:v1/AttachTrustRequest": attach_trust_request
"/managedidentities:v1/AttachTrustRequest/trust": trust_prop "/managedidentities:v1/AttachTrustRequest/trust": trust_prop
"/managedidentities:v1/Binding": binding "/managedidentities:v1/Binding": binding
"/managedidentities:v1/Binding/bindingId": binding_id
"/managedidentities:v1/Binding/condition": condition "/managedidentities:v1/Binding/condition": condition
"/managedidentities:v1/Binding/members": members "/managedidentities:v1/Binding/members": members
"/managedidentities:v1/Binding/members/member": member "/managedidentities:v1/Binding/members/member": member
@ -111010,6 +111011,7 @@
"/managedidentities:v1alpha1/AttachTrustRequest": attach_trust_request "/managedidentities:v1alpha1/AttachTrustRequest": attach_trust_request
"/managedidentities:v1alpha1/AttachTrustRequest/trust": trust_prop "/managedidentities:v1alpha1/AttachTrustRequest/trust": trust_prop
"/managedidentities:v1alpha1/Binding": binding "/managedidentities:v1alpha1/Binding": binding
"/managedidentities:v1alpha1/Binding/bindingId": binding_id
"/managedidentities:v1alpha1/Binding/condition": condition "/managedidentities:v1alpha1/Binding/condition": condition
"/managedidentities:v1alpha1/Binding/members": members "/managedidentities:v1alpha1/Binding/members": members
"/managedidentities:v1alpha1/Binding/members/member": member "/managedidentities:v1alpha1/Binding/members/member": member
@ -111250,6 +111252,7 @@
"/managedidentities:v1beta1/AttachTrustRequest": attach_trust_request "/managedidentities:v1beta1/AttachTrustRequest": attach_trust_request
"/managedidentities:v1beta1/AttachTrustRequest/trust": trust_prop "/managedidentities:v1beta1/AttachTrustRequest/trust": trust_prop
"/managedidentities:v1beta1/Binding": binding "/managedidentities:v1beta1/Binding": binding
"/managedidentities:v1beta1/Binding/bindingId": binding_id
"/managedidentities:v1beta1/Binding/condition": condition "/managedidentities:v1beta1/Binding/condition": condition
"/managedidentities:v1beta1/Binding/members": members "/managedidentities:v1beta1/Binding/members": members
"/managedidentities:v1beta1/Binding/members/member": member "/managedidentities:v1beta1/Binding/members/member": member

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-approval/docs # @see https://cloud.google.com/access-approval/docs
module AccessapprovalV1 module AccessapprovalV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200903' REVISION = '20200930'
# 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

@ -49,9 +49,9 @@ module Google
# @return [Array<Google::Apis::AccessapprovalV1::EnrolledService>] # @return [Array<Google::Apis::AccessapprovalV1::EnrolledService>]
attr_accessor :enrolled_services attr_accessor :enrolled_services
# The resource name of the settings. Format is one of: 1. "projects/`project_id`/ # The resource name of the settings. Format is one of: * "projects/`project`/
# accessApprovalSettings" 2. "folders/`folder_id`/accessApprovalSettings" 3. " # accessApprovalSettings" * "folders/`folder`/accessApprovalSettings" * "
# organizations/`organization_id`/accessApprovalSettings" # organizations/`organization`/accessApprovalSettings"
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -84,9 +84,9 @@ module Google
# The "home office" location of the principal. A two-letter country code (ISO # The "home office" location of the principal. A two-letter country code (ISO
# 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited # 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited
# situations Google systems may refer refer to a region code instead of a # situations Google systems may refer refer to a region code instead of a
# country code. Possible Region Codes: 1. ASI: Asia 2. EUR: Europe 3. OCE: # country code. Possible Region Codes: * ASI: Asia * EUR: Europe * OCE: Oceania *
# Oceania 4. AFR: Africa 5. NAM: North America 6. SAM: South America 7. ANT: # AFR: Africa * NAM: North America * SAM: South America * ANT: Antarctica * ANY:
# Antarctica 8. ANY: Any location # Any location
# Corresponds to the JSON property `principalOfficeCountry` # Corresponds to the JSON property `principalOfficeCountry`
# @return [String] # @return [String]
attr_accessor :principal_office_country attr_accessor :principal_office_country
@ -94,9 +94,9 @@ module Google
# Physical location of the principal at the time of the access. A two-letter # Physical location of the principal at the time of the access. A two-letter
# country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. # country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code.
# In some limited situations Google systems may refer refer to a region code # In some limited situations Google systems may refer refer to a region code
# instead of a country code. Possible Region Codes: 1. ASI: Asia 2. EUR: Europe # instead of a country code. Possible Region Codes: * ASI: Asia * EUR: Europe *
# 3. OCE: Oceania 4. AFR: Africa 5. NAM: North America 6. SAM: South America 7. # OCE: Oceania * AFR: Africa * NAM: North America * SAM: South America * ANT:
# ANT: Antarctica 8. ANY: Any location # Antarctica * ANY: Any location
# Corresponds to the JSON property `principalPhysicalLocationCountry` # Corresponds to the JSON property `principalPhysicalLocationCountry`
# @return [String] # @return [String]
attr_accessor :principal_physical_location_country attr_accessor :principal_physical_location_country
@ -152,7 +152,7 @@ module Google
attr_accessor :dismiss attr_accessor :dismiss
# The resource name of the request. Format is "`projects|folders|organizations`/` # The resource name of the request. Format is "`projects|folders|organizations`/`
# id`/approvalRequests/`approval_request_id`". # id`/approvalRequests/`approval_request`".
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -317,12 +317,21 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The product for which Access Approval will be enrolled. Allowed values are # The product for which Access Approval will be enrolled. Allowed values are
# listed below (case-sensitive): 1. all 2. ga-only 3. appengine.googleapis.com 4. # listed below (case-sensitive): * all * GA * App Engine * BigQuery * Cloud
# bigquery.googleapis.com 5. bigtable.googleapis.com 6. cloudkms.googleapis.com # Bigtable * Cloud Key Management Service * Compute Engine * Cloud Dataflow *
# 7. compute.googleapis.com 8. dataflow.googleapis.com 9. iam.googleapis.com 10. # Cloud Identity and Access Management * Cloud Pub/Sub * Cloud Storage *
# pubsub.googleapis.com 11. storage.googleapis.com Note: 'all' will enroll the # Persistent Disk Note: These values are supported as input for legacy purposes,
# resource in all products supported at both 'GA' and 'Preview' levels. 'ga-only' # but will not be returned from the API. * all * ga-only * appengine.googleapis.
# will only enroll the resource in products supported at 'GA' level. # com * bigquery.googleapis.com * bigtable.googleapis.com * cloudkms.googleapis.
# com * compute.googleapis.com * dataflow.googleapis.com * iam.googleapis.com *
# pubsub.googleapis.com * storage.googleapis.com Calls to
# UpdateAccessApprovalSettings using 'all', 'ga-only', or any of the XXX.
# googleapis.com will be translated to the associated product name ('all', 'GA',
# 'App Engine', etc.). Note: 'all' will enroll the resource in all products
# supported at both 'GA' and 'Preview' levels. 'ga-only'/'GA' will only enroll
# the resource in products supported at 'GA' level. More information about
# levels of support is available at https://cloud.google.com/access-approval/
# docs/supported-services
# Corresponds to the JSON property `cloudProduct` # Corresponds to the JSON property `cloudProduct`
# @return [String] # @return [String]
attr_accessor :cloud_product attr_accessor :cloud_product

View File

@ -114,9 +114,9 @@ module Google
# Updates the settings associated with a project, folder, or organization. # Updates the settings associated with a project, folder, or organization.
# Settings to update are determined by the value of field_mask. # Settings to update are determined by the value of field_mask.
# @param [String] name # @param [String] name
# The resource name of the settings. Format is one of: 1. "projects/`project_id`/ # The resource name of the settings. Format is one of: * "projects/`project`/
# accessApprovalSettings" 2. "folders/`folder_id`/accessApprovalSettings" 3. " # accessApprovalSettings" * "folders/`folder`/accessApprovalSettings" * "
# organizations/`organization_id`/accessApprovalSettings" # organizations/`organization`/accessApprovalSettings"
# @param [Google::Apis::AccessapprovalV1::AccessApprovalSettings] access_approval_settings_object # @param [Google::Apis::AccessapprovalV1::AccessApprovalSettings] access_approval_settings_object
# @param [String] update_mask # @param [String] update_mask
# The update mask applies to the settings. Only the top level fields of # The update mask applies to the settings. Only the top level fields of
@ -262,14 +262,14 @@ module Google
# Approval requests can be filtered by state (pending, active, dismissed). The # Approval requests can be filtered by state (pending, active, dismissed). The
# order is reverse chronological. # order is reverse chronological.
# @param [String] parent # @param [String] parent
# The parent resource. This may be "projects/`project_id`", "folders/`folder_id`" # The parent resource. This may be "projects/`project`", "folders/`folder`", or "
# , or "organizations/`organization_id`". # organizations/`organization`".
# @param [String] filter # @param [String] filter
# A filter on the type of approval requests to retrieve. Must be one of the # A filter on the type of approval requests to retrieve. Must be one of the
# following values: 1. [not set]: Requests that are pending or have active # following values: * [not set]: Requests that are pending or have active
# approvals. 2. ALL: All requests. 3. PENDING: Only pending requests. 4. ACTIVE: # approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE:
# Only active (i.e. currently approved) requests. 5. DISMISSED: Only dismissed ( # Only active (i.e. currently approved) requests. * DISMISSED: Only dismissed (
# including expired) requests. 6. HISTORY: Active and dismissed (including # including expired) requests. * HISTORY: Active and dismissed (including
# expired) requests. # expired) requests.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. # Requested page size.
@ -372,9 +372,9 @@ module Google
# Updates the settings associated with a project, folder, or organization. # Updates the settings associated with a project, folder, or organization.
# Settings to update are determined by the value of field_mask. # Settings to update are determined by the value of field_mask.
# @param [String] name # @param [String] name
# The resource name of the settings. Format is one of: 1. "projects/`project_id`/ # The resource name of the settings. Format is one of: * "projects/`project`/
# accessApprovalSettings" 2. "folders/`folder_id`/accessApprovalSettings" 3. " # accessApprovalSettings" * "folders/`folder`/accessApprovalSettings" * "
# organizations/`organization_id`/accessApprovalSettings" # organizations/`organization`/accessApprovalSettings"
# @param [Google::Apis::AccessapprovalV1::AccessApprovalSettings] access_approval_settings_object # @param [Google::Apis::AccessapprovalV1::AccessApprovalSettings] access_approval_settings_object
# @param [String] update_mask # @param [String] update_mask
# The update mask applies to the settings. Only the top level fields of # The update mask applies to the settings. Only the top level fields of
@ -520,14 +520,14 @@ module Google
# Approval requests can be filtered by state (pending, active, dismissed). The # Approval requests can be filtered by state (pending, active, dismissed). The
# order is reverse chronological. # order is reverse chronological.
# @param [String] parent # @param [String] parent
# The parent resource. This may be "projects/`project_id`", "folders/`folder_id`" # The parent resource. This may be "projects/`project`", "folders/`folder`", or "
# , or "organizations/`organization_id`". # organizations/`organization`".
# @param [String] filter # @param [String] filter
# A filter on the type of approval requests to retrieve. Must be one of the # A filter on the type of approval requests to retrieve. Must be one of the
# following values: 1. [not set]: Requests that are pending or have active # following values: * [not set]: Requests that are pending or have active
# approvals. 2. ALL: All requests. 3. PENDING: Only pending requests. 4. ACTIVE: # approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE:
# Only active (i.e. currently approved) requests. 5. DISMISSED: Only dismissed ( # Only active (i.e. currently approved) requests. * DISMISSED: Only dismissed (
# including expired) requests. 6. HISTORY: Active and dismissed (including # including expired) requests. * HISTORY: Active and dismissed (including
# expired) requests. # expired) requests.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. # Requested page size.
@ -630,9 +630,9 @@ module Google
# Updates the settings associated with a project, folder, or organization. # Updates the settings associated with a project, folder, or organization.
# Settings to update are determined by the value of field_mask. # Settings to update are determined by the value of field_mask.
# @param [String] name # @param [String] name
# The resource name of the settings. Format is one of: 1. "projects/`project_id`/ # The resource name of the settings. Format is one of: * "projects/`project`/
# accessApprovalSettings" 2. "folders/`folder_id`/accessApprovalSettings" 3. " # accessApprovalSettings" * "folders/`folder`/accessApprovalSettings" * "
# organizations/`organization_id`/accessApprovalSettings" # organizations/`organization`/accessApprovalSettings"
# @param [Google::Apis::AccessapprovalV1::AccessApprovalSettings] access_approval_settings_object # @param [Google::Apis::AccessapprovalV1::AccessApprovalSettings] access_approval_settings_object
# @param [String] update_mask # @param [String] update_mask
# The update mask applies to the settings. Only the top level fields of # The update mask applies to the settings. Only the top level fields of
@ -778,14 +778,14 @@ module Google
# Approval requests can be filtered by state (pending, active, dismissed). The # Approval requests can be filtered by state (pending, active, dismissed). The
# order is reverse chronological. # order is reverse chronological.
# @param [String] parent # @param [String] parent
# The parent resource. This may be "projects/`project_id`", "folders/`folder_id`" # The parent resource. This may be "projects/`project`", "folders/`folder`", or "
# , or "organizations/`organization_id`". # organizations/`organization`".
# @param [String] filter # @param [String] filter
# A filter on the type of approval requests to retrieve. Must be one of the # A filter on the type of approval requests to retrieve. Must be one of the
# following values: 1. [not set]: Requests that are pending or have active # following values: * [not set]: Requests that are pending or have active
# approvals. 2. ALL: All requests. 3. PENDING: Only pending requests. 4. ACTIVE: # approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE:
# Only active (i.e. currently approved) requests. 5. DISMISSED: Only dismissed ( # Only active (i.e. currently approved) requests. * DISMISSED: Only dismissed (
# including expired) requests. 6. HISTORY: Active and dismissed (including # including expired) requests. * HISTORY: Active and dismissed (including
# expired) requests. # expired) requests.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. # Requested page size.

View File

@ -31,7 +31,7 @@ module Google
# @see https://cloud.google.com/data-fusion/docs # @see https://cloud.google.com/data-fusion/docs
module DatafusionV1 module DatafusionV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200901' REVISION = '20200928'
# 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

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/ # @see https://cloud.google.com/dataproc/
module DataprocV1 module DataprocV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200917' REVISION = '20200925'
# 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

@ -2126,7 +2126,7 @@ module Google
class NodeGroupAffinity class NodeGroupAffinity
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The name of a single node group (https://cloud.google.com/compute/ # Required. The name of a single node group (https://cloud.google.com/compute/
# docs/reference/rest/v1/nodeGroups) a cluster will be created on. # docs/reference/rest/v1/nodeGroups) a cluster will be created on.
# Corresponds to the JSON property `nodeGroupUri` # Corresponds to the JSON property `nodeGroupUri`
# @return [String] # @return [String]

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/ # @see https://cloud.google.com/dataproc/
module DataprocV1beta2 module DataprocV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20200917' REVISION = '20200925'
# 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

@ -2217,7 +2217,7 @@ module Google
class NodeGroupAffinity class NodeGroupAffinity
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The name of a single node group (https://cloud.google.com/compute/ # Required. The name of a single node group (https://cloud.google.com/compute/
# docs/reference/rest/v1/nodeGroups) a cluster will be created on. # docs/reference/rest/v1/nodeGroups) a cluster will be created on.
# Corresponds to the JSON property `nodeGroupUri` # Corresponds to the JSON property `nodeGroupUri`
# @return [String] # @return [String]

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/managed-microsoft-ad/ # @see https://cloud.google.com/managed-microsoft-ad/
module ManagedidentitiesV1 module ManagedidentitiesV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200727' REVISION = '20200925'
# 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

@ -237,6 +237,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::ManagedidentitiesV1::Expr, decorator: Google::Apis::ManagedidentitiesV1::Expr::Representation property :condition, as: 'condition', class: Google::Apis::ManagedidentitiesV1::Expr, decorator: Google::Apis::ManagedidentitiesV1::Expr::Representation
collection :members, as: 'members' collection :members, as: 'members'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/managed-microsoft-ad/ # @see https://cloud.google.com/managed-microsoft-ad/
module ManagedidentitiesV1alpha1 module ManagedidentitiesV1alpha1
VERSION = 'V1alpha1' VERSION = 'V1alpha1'
REVISION = '20200824' REVISION = '20200925'
# 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

@ -48,6 +48,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:
@ -109,6 +115,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

@ -237,6 +237,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::ManagedidentitiesV1alpha1::Expr, decorator: Google::Apis::ManagedidentitiesV1alpha1::Expr::Representation property :condition, as: 'condition', class: Google::Apis::ManagedidentitiesV1alpha1::Expr, decorator: Google::Apis::ManagedidentitiesV1alpha1::Expr::Representation
collection :members, as: 'members' collection :members, as: 'members'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/managed-microsoft-ad/ # @see https://cloud.google.com/managed-microsoft-ad/
module ManagedidentitiesV1beta1 module ManagedidentitiesV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200824' REVISION = '20200925'
# 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

@ -237,6 +237,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::ManagedidentitiesV1beta1::Expr, decorator: Google::Apis::ManagedidentitiesV1beta1::Expr::Representation property :condition, as: 'condition', class: Google::Apis::ManagedidentitiesV1beta1::Expr, decorator: Google::Apis::ManagedidentitiesV1beta1::Expr::Representation
collection :members, as: 'members' collection :members, as: 'members'

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 = '20200915' REVISION = '20200927'
# 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

@ -49,11 +49,11 @@ module Google
# The alignment_period specifies a time interval, in seconds, that is used to # The alignment_period specifies a time interval, in seconds, that is used to
# divide the data in all the time series into consistent blocks of time. This # divide the data in all the time series into consistent blocks of time. This
# will be done before the per-series aligner can be applied to the data.The # will be done before the per-series aligner can be applied to the data.The
# value must be at least 60 seconds, at most 104 weeks. If a per-series aligner # value must be at least 60 seconds. If a per-series aligner other than
# other than ALIGN_NONE is specified, this field is required or an error is # ALIGN_NONE is specified, this field is required or an error is returned. If no
# returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is # per-series aligner is specified, or the aligner ALIGN_NONE is specified, then
# specified, then this field is ignored.The maximum value of the # this field is ignored.The maximum value of the alignment_period is 104 weeks (
# alignment_period is 2 years, or 104 weeks. # 2 years) for charts, and 90,000 seconds (25 hours) for alerting policies.
# Corresponds to the JSON property `alignmentPeriod` # Corresponds to the JSON property `alignmentPeriod`
# @return [String] # @return [String]
attr_accessor :alignment_period attr_accessor :alignment_period
@ -3005,8 +3005,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :page_token attr_accessor :page_token
# Required. The query in the monitoring query language format. The default time # Required. The query in the Monitoring Query Language (https://cloud.google.com/
# zone is in UTC. # monitoring/mql/reference) format. The default time zone is in UTC.
# Corresponds to the JSON property `query` # Corresponds to the JSON property `query`
# @return [String] # @return [String]
attr_accessor :query attr_accessor :query

View File

@ -1226,11 +1226,11 @@ module Google
# The alignment_period specifies a time interval, in seconds, that is used to # The alignment_period specifies a time interval, in seconds, that is used to
# divide the data in all the time series into consistent blocks of time. This # divide the data in all the time series into consistent blocks of time. This
# will be done before the per-series aligner can be applied to the data.The # will be done before the per-series aligner can be applied to the data.The
# value must be at least 60 seconds, at most 104 weeks. If a per-series aligner # value must be at least 60 seconds. If a per-series aligner other than
# other than ALIGN_NONE is specified, this field is required or an error is # ALIGN_NONE is specified, this field is required or an error is returned. If no
# returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is # per-series aligner is specified, or the aligner ALIGN_NONE is specified, then
# specified, then this field is ignored.The maximum value of the # this field is ignored.The maximum value of the alignment_period is 104 weeks (
# alignment_period is 2 years, or 104 weeks. # 2 years) for charts, and 90,000 seconds (25 hours) for alerting policies.
# @param [String] aggregation_cross_series_reducer # @param [String] aggregation_cross_series_reducer
# The reduction operation to be used to combine time series into a single time # The reduction operation to be used to combine time series into a single time
# series, where the value of each data point in the resulting series is a # series, where the value of each data point in the resulting series is a

View File

@ -18,15 +18,15 @@ require 'google/apis/osconfig_v1beta/representations.rb'
module Google module Google
module Apis module Apis
# Cloud OS Config API # OS Config API
# #
# OS management tools that can be used for patch management, patch compliance, # OS management tools that can be used for patch management, patch compliance,
# and configuration management on VM instances. # and configuration management on VM instances.
# #
# @see https://cloud.google.com/ # @see https://cloud.google.com/compute/docs/manage-os
module OsconfigV1beta module OsconfigV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20200903' REVISION = '20200930'
# 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

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google module Google
module Apis module Apis
module OsconfigV1beta module OsconfigV1beta
# Cloud OS Config API # OS Config API
# #
# OS management tools that can be used for patch management, patch compliance, # OS management tools that can be used for patch management, patch compliance,
# and configuration management on VM instances. # and configuration management on VM instances.
@ -29,10 +29,10 @@ module Google
# require 'google/apis/osconfig_v1beta' # require 'google/apis/osconfig_v1beta'
# #
# Osconfig = Google::Apis::OsconfigV1beta # Alias the module # Osconfig = Google::Apis::OsconfigV1beta # Alias the module
# service = Osconfig::SystemsManagementService.new # service = Osconfig::OSConfigService.new
# #
# @see https://cloud.google.com/ # @see https://cloud.google.com/compute/docs/manage-os
class SystemsManagementService < Google::Apis::Core::BaseService class OSConfigService < 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

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/storage/docs/json_api/ # @see https://developers.google.com/storage/docs/json_api/
module StorageV1 module StorageV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200915' REVISION = '20200927'
# 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

@ -197,13 +197,6 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :zone_affinity attr_accessor :zone_affinity
# If set, objects placed in this bucket are required to be separated by disaster
# domain.
# Corresponds to the JSON property `zoneSeparation`
# @return [Boolean]
attr_accessor :zone_separation
alias_method :zone_separation?, :zone_separation
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -237,7 +230,6 @@ module Google
@versioning = args[:versioning] if args.key?(:versioning) @versioning = args[:versioning] if args.key?(:versioning)
@website = args[:website] if args.key?(:website) @website = args[:website] if args.key?(:website)
@zone_affinity = args[:zone_affinity] if args.key?(:zone_affinity) @zone_affinity = args[:zone_affinity] if args.key?(:zone_affinity)
@zone_separation = args[:zone_separation] if args.key?(:zone_separation)
end end
# The bucket's billing configuration. # The bucket's billing configuration.
@ -1446,8 +1438,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Cloud KMS Key used to encrypt this object, if the object is encrypted by such # Not currently supported. Specifying the parameter causes the request to fail
# a key. # with status code 400 - Bad Request.
# Corresponds to the JSON property `kmsKeyName` # Corresponds to the JSON property `kmsKeyName`
# @return [String] # @return [String]
attr_accessor :kms_key_name attr_accessor :kms_key_name

View File

@ -318,7 +318,6 @@ module Google
property :website, as: 'website', class: Google::Apis::StorageV1::Bucket::Website, decorator: Google::Apis::StorageV1::Bucket::Website::Representation property :website, as: 'website', class: Google::Apis::StorageV1::Bucket::Website, decorator: Google::Apis::StorageV1::Bucket::Website::Representation
collection :zone_affinity, as: 'zoneAffinity' collection :zone_affinity, as: 'zoneAffinity'
property :zone_separation, as: 'zoneSeparation'
end end
class Billing class Billing

View File

@ -1617,8 +1617,9 @@ module Google
# Makes the operation conditional on whether the object's current metageneration # Makes the operation conditional on whether the object's current metageneration
# matches the given value. # matches the given value.
# @param [String] kms_key_name # @param [String] kms_key_name
# Not currently supported. Specifying the parameter causes the request to fail # Resource name of the Cloud KMS key, of the form projects/my-project/locations/
# with status code 400 - Bad Request. # global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the
# object. Overrides the object metadata's kms_key_name value, if any.
# @param [String] provisional_user_project # @param [String] provisional_user_project
# The project to be billed for this request if the target bucket is requester- # The project to be billed for this request if the target bucket is requester-
# pays bucket. # pays bucket.