Autogenerated update (2019-10-04)

Update:
- binaryauthorization_v1
- binaryauthorization_v1beta1
- cloudresourcemanager_v2
- cloudtasks_v2beta2
- dlp_v2
- dns_v1
- dns_v2beta1
- monitoring_v3
- run_v1
- run_v1alpha1
- run_v1beta1
- runtimeconfig_v1beta1
- vault_v1
This commit is contained in:
Google APIs 2019-10-04 00:37:38 +00:00
parent 2c70ecc91f
commit 112efade69
32 changed files with 317 additions and 239 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/ # @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1 module BinaryauthorizationV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190919' REVISION = '20190927'
# 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

@ -309,7 +309,7 @@ module Google
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "role/resourcemanager.organizationAdmin", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
@ -548,7 +548,7 @@ module Google
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "role/resourcemanager.organizationAdmin", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/ # @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1beta1 module BinaryauthorizationV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190919' REVISION = '20190927'
# 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

@ -309,7 +309,7 @@ module Google
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "role/resourcemanager.organizationAdmin", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
@ -548,7 +548,7 @@ module Google
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "role/resourcemanager.organizationAdmin", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager # @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2 module CloudresourcemanagerV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190830' REVISION = '20190927'
# 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

@ -505,25 +505,34 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of # A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "roles/owner", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com" # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
# "role": "roles/viewer", # "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:sean@example.com"] # "members": ["user:eve@example.com"],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time <
# timestamp('2020-10-01T00:00:00.000Z')",
# `
# ` # `
# ] # ]
# ` # `
@ -533,11 +542,15 @@ module Google
# - user:mike@example.com # - user:mike@example.com
# - group:admins@example.com # - group:admins@example.com
# - domain:google.com # - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com # - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner # role: roles/resourcemanager.organizationAdmin
# - members: # - members:
# - user:sean@example.com # - user:eve@example.com
# role: roles/viewer # role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
class Policy class Policy
@ -548,7 +561,8 @@ module Google
# @return [Array<Google::Apis::CloudresourcemanagerV2::AuditConfig>] # @return [Array<Google::Apis::CloudresourcemanagerV2::AuditConfig>]
attr_accessor :audit_configs attr_accessor :audit_configs
# Associates a list of `members` to a `role`. # Associates a list of `members` to a `role`. Optionally may specify a
# `condition` that determines when binding is in effect.
# `bindings` with no members will result in an error. # `bindings` with no members will result in an error.
# Corresponds to the JSON property `bindings` # Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::CloudresourcemanagerV2::Binding>] # @return [Array<Google::Apis::CloudresourcemanagerV2::Binding>]
@ -562,7 +576,9 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to # systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy. # ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing # If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten. # policy is overwritten. Due to blind-set semantics of an etag-less policy,
# 'setIamPolicy' will not fail even if either of incoming or stored policy
# does not meet the version requirements.
# Corresponds to the JSON property `etag` # Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String] # @return [String]
@ -571,9 +587,13 @@ module Google
# Specifies the format of the policy. # Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected. # rejected.
# Policies with any conditional bindings must specify version 3. Policies # Operations affecting conditional bindings must specify version 3. This can
# without any conditional bindings may specify any valid value or leave the # be either setting a conditional policy, modifying a conditional binding,
# field unset. # or removing a conditional binding from the stored conditional policy.
# Operations on non-conditional policies may specify any valid value or
# leave the field unset.
# If no etag is provided in the call to `setIamPolicy`, any version
# compliance checks on the incoming and/or stored policy is skipped.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version
@ -714,25 +734,34 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of # A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "roles/owner", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com" # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
# "role": "roles/viewer", # "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:sean@example.com"] # "members": ["user:eve@example.com"],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time <
# timestamp('2020-10-01T00:00:00.000Z')",
# `
# ` # `
# ] # ]
# ` # `
@ -742,11 +771,15 @@ module Google
# - user:mike@example.com # - user:mike@example.com
# - group:admins@example.com # - group:admins@example.com
# - domain:google.com # - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com # - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner # role: roles/resourcemanager.organizationAdmin
# - members: # - members:
# - user:sean@example.com # - user:eve@example.com
# role: roles/viewer # role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/ # @see https://cloud.google.com/tasks/
module CloudtasksV2beta2 module CloudtasksV2beta2
VERSION = 'V2beta2' VERSION = 'V2beta2'
REVISION = '20190906' REVISION = '20190927'
# 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

@ -918,25 +918,34 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of # A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "roles/owner", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com" # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
# "role": "roles/viewer", # "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:sean@example.com"] # "members": ["user:eve@example.com"],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time <
# timestamp('2020-10-01T00:00:00.000Z')",
# `
# ` # `
# ] # ]
# ` # `
@ -946,17 +955,22 @@ module Google
# - user:mike@example.com # - user:mike@example.com
# - group:admins@example.com # - group:admins@example.com
# - domain:google.com # - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com # - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner # role: roles/resourcemanager.organizationAdmin
# - members: # - members:
# - user:sean@example.com # - user:eve@example.com
# role: roles/viewer # role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
class Policy class Policy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Associates a list of `members` to a `role`. # Associates a list of `members` to a `role`. Optionally may specify a
# `condition` that determines when binding is in effect.
# `bindings` with no members will result in an error. # `bindings` with no members will result in an error.
# Corresponds to the JSON property `bindings` # Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::CloudtasksV2beta2::Binding>] # @return [Array<Google::Apis::CloudtasksV2beta2::Binding>]
@ -970,7 +984,9 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to # systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy. # ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing # If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten. # policy is overwritten. Due to blind-set semantics of an etag-less policy,
# 'setIamPolicy' will not fail even if either of incoming or stored policy
# does not meet the version requirements.
# Corresponds to the JSON property `etag` # Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String] # @return [String]
@ -979,9 +995,13 @@ module Google
# Specifies the format of the policy. # Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected. # rejected.
# Policies with any conditional bindings must specify version 3. Policies # Operations affecting conditional bindings must specify version 3. This can
# without any conditional bindings may specify any valid value or leave the # be either setting a conditional policy, modifying a conditional binding,
# field unset. # or removing a conditional binding from the stored conditional policy.
# Operations on non-conditional policies may specify any valid value or
# leave the field unset.
# If no etag is provided in the call to `setIamPolicy`, any version
# compliance checks on the incoming and/or stored policy is skipped.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version
@ -1466,25 +1486,34 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of # A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a single `role`. Members can be user accounts, service accounts,
# Google domains, and service accounts. A `role` is a named list of permissions # Google groups, and domains (such as G Suite). A `role` is a named list of
# defined by IAM. # permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "roles/owner", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com" # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
# "role": "roles/viewer", # "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:sean@example.com"] # "members": ["user:eve@example.com"],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time <
# timestamp('2020-10-01T00:00:00.000Z')",
# `
# ` # `
# ] # ]
# ` # `
@ -1494,11 +1523,15 @@ module Google
# - user:mike@example.com # - user:mike@example.com
# - group:admins@example.com # - group:admins@example.com
# - domain:google.com # - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com # - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/owner # role: roles/resourcemanager.organizationAdmin
# - members: # - members:
# - user:sean@example.com # - user:eve@example.com
# role: roles/viewer # role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/ # @see https://cloud.google.com/dlp/docs/
module DlpV2 module DlpV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190920' REVISION = '20190929'
# 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

@ -3846,34 +3846,6 @@ module Google
end end
end end
# Request for the list of infoTypes.
class GooglePrivacyDlpV2ListInfoTypesRequest
include Google::Apis::Core::Hashable
# Optional filter to only return infoTypes supported by certain parts of the
# API. Defaults to supported_by=INSPECT.
# Corresponds to the JSON property `filter`
# @return [String]
attr_accessor :filter
# Optional BCP-47 language code for localized infoType friendly
# names. If omitted, or if localized strings are not available,
# en-US strings will be returned.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@filter = args[:filter] if args.key?(:filter)
@language_code = args[:language_code] if args.key?(:language_code)
end
end
# Response to the ListInfoTypes request. # Response to the ListInfoTypes request.
class GooglePrivacyDlpV2ListInfoTypesResponse class GooglePrivacyDlpV2ListInfoTypesResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -646,12 +646,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GooglePrivacyDlpV2ListInfoTypesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2ListInfoTypesResponse class GooglePrivacyDlpV2ListInfoTypesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2163,14 +2157,6 @@ module Google
end end
end end
class GooglePrivacyDlpV2ListInfoTypesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :filter, as: 'filter'
property :language_code, as: 'languageCode'
end
end
class GooglePrivacyDlpV2ListInfoTypesResponse class GooglePrivacyDlpV2ListInfoTypesResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -97,7 +97,13 @@ module Google
# @param [String] location # @param [String] location
# The geographic location to list info types. Reserved for future # The geographic location to list info types. Reserved for future
# extensions. # extensions.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesRequest] google_privacy_dlp_v2_list_info_types_request_object # @param [String] filter
# Optional filter to only return infoTypes supported by certain parts of the
# API. Defaults to supported_by=INSPECT.
# @param [String] language_code
# Optional BCP-47 language code for localized infoType friendly
# names. If omitted, or if localized strings are not available,
# en-US strings will be returned.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -115,13 +121,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def info_location_types(location, google_privacy_dlp_v2_list_info_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) def list_location_info_types(location, filter: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/locations/{location}/infoTypes', options) command = make_simple_command(:get, 'v2/locations/{location}/infoTypes', options)
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesRequest::Representation
command.request_object = google_privacy_dlp_v2_list_info_types_request_object
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
command.params['location'] = location unless location.nil? command.params['location'] = location unless location.nil?
command.query['filter'] = filter unless filter.nil?
command.query['languageCode'] = language_code unless language_code.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-dns # @see https://developers.google.com/cloud-dns
module DnsV1 module DnsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190903' REVISION = '20190923'
# 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

@ -933,6 +933,13 @@ module Google
attr_accessor :enable_inbound_forwarding attr_accessor :enable_inbound_forwarding
alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding
# Controls whether logging is enabled for the networks bound to this policy.
# Defaults to no logging if not set.
# Corresponds to the JSON property `enableLogging`
# @return [Boolean]
attr_accessor :enable_logging
alias_method :enable_logging?, :enable_logging
# Unique identifier for the resource; defined by the server (output only). # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
# @return [Fixnum] # @return [Fixnum]
@ -962,6 +969,7 @@ module Google
@alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config) @alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@enable_inbound_forwarding = args[:enable_inbound_forwarding] if args.key?(:enable_inbound_forwarding) @enable_inbound_forwarding = args[:enable_inbound_forwarding] if args.key?(:enable_inbound_forwarding)
@enable_logging = args[:enable_logging] if args.key?(:enable_logging)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)

View File

@ -437,6 +437,7 @@ module Google
property :description, as: 'description' property :description, as: 'description'
property :enable_inbound_forwarding, as: 'enableInboundForwarding' property :enable_inbound_forwarding, as: 'enableInboundForwarding'
property :enable_logging, as: 'enableLogging'
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :name, as: 'name' property :name, as: 'name'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-dns # @see https://developers.google.com/cloud-dns
module DnsV2beta1 module DnsV2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20190903' REVISION = '20190923'
# 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

@ -933,6 +933,13 @@ module Google
attr_accessor :enable_inbound_forwarding attr_accessor :enable_inbound_forwarding
alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding
# Controls whether logging is enabled for the networks bound to this policy.
# Defaults to no logging if not set.
# Corresponds to the JSON property `enableLogging`
# @return [Boolean]
attr_accessor :enable_logging
alias_method :enable_logging?, :enable_logging
# Unique identifier for the resource; defined by the server (output only). # Unique identifier for the resource; defined by the server (output only).
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
# @return [Fixnum] # @return [Fixnum]
@ -962,6 +969,7 @@ module Google
@alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config) @alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@enable_inbound_forwarding = args[:enable_inbound_forwarding] if args.key?(:enable_inbound_forwarding) @enable_inbound_forwarding = args[:enable_inbound_forwarding] if args.key?(:enable_inbound_forwarding)
@enable_logging = args[:enable_logging] if args.key?(:enable_logging)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)

View File

@ -437,6 +437,7 @@ module Google
property :description, as: 'description' property :description, as: 'description'
property :enable_inbound_forwarding, as: 'enableInboundForwarding' property :enable_inbound_forwarding, as: 'enableInboundForwarding'
property :enable_logging, as: 'enableLogging'
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
property :name, as: 'name' property :name, as: 'name'

View File

@ -30,7 +30,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 = '20190923' REVISION = '20190929'
# 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

@ -2324,8 +2324,9 @@ module Google
# the start time. # the start time.
# For a GAUGE metric, the startTime value is technically optional; if no value # For a GAUGE metric, the startTime value is technically optional; if no value
# is specified, the start time defaults to the value of the end time, and the # is specified, the start time defaults to the value of the end time, and the
# interval represents a single point in time. Such an interval is valid only # interval represents a single point in time. If both start and end times are
# for GAUGE metrics, which are point-in-time measurements. # specified, they must be identical. Such an interval is valid only for GAUGE
# metrics, which are point-in-time measurements.
# For DELTA and CUMULATIVE metrics, the start time must be earlier than the end # For DELTA and CUMULATIVE metrics, the start time must be earlier than the end
# time. # time.
# In all cases, the start time of the next interval must be at least a # In all cases, the start time of the next interval must be at least a
@ -2531,8 +2532,9 @@ module Google
# the start time. # the start time.
# For a GAUGE metric, the startTime value is technically optional; if no value # For a GAUGE metric, the startTime value is technically optional; if no value
# is specified, the start time defaults to the value of the end time, and the # is specified, the start time defaults to the value of the end time, and the
# interval represents a single point in time. Such an interval is valid only # interval represents a single point in time. If both start and end times are
# for GAUGE metrics, which are point-in-time measurements. # specified, they must be identical. Such an interval is valid only for GAUGE
# metrics, which are point-in-time measurements.
# For DELTA and CUMULATIVE metrics, the start time must be earlier than the end # For DELTA and CUMULATIVE metrics, the start time must be earlier than the end
# time. # time.
# In all cases, the start time of the next interval must be at least a # In all cases, the start time of the next interval must be at least a

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1 module RunV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190920' REVISION = '20190927'
# 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

@ -638,7 +638,7 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# (Optional) # (Optional)
# Cloud Run fully managed: not supported # Cloud Run fully managed: supported
# Cloud Run for Anthos: supported # Cloud Run for Anthos: supported
# Arguments to the entrypoint. # Arguments to the entrypoint.
# The docker image's CMD is used if this is not provided. # The docker image's CMD is used if this is not provided.
@ -2187,7 +2187,7 @@ module Google
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "role/resourcemanager.organizationAdmin", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
@ -2400,7 +2400,8 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# (Optional) # (Optional)
# Cloud Run fully managed: Only memory is supported # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
# supported value for CPU is '1'.
# Cloud Run for Anthos: supported # Cloud Run for Anthos: supported
# Limits describes the maximum amount of compute resources allowed. # Limits describes the maximum amount of compute resources allowed.
# The values of the map is string form of the 'quantity' k8s type: # The values of the map is string form of the 'quantity' k8s type:
@ -2411,7 +2412,8 @@ module Google
attr_accessor :limits attr_accessor :limits
# (Optional) # (Optional)
# Cloud Run fully managed: not supported # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
# supported value for CPU is '1'.
# Cloud Run for Anthos: supported # Cloud Run for Anthos: supported
# Requests describes the minimum amount of compute resources required. # Requests describes the minimum amount of compute resources required.
# If Requests is omitted for a container, it defaults to Limits if that is # If Requests is omitted for a container, it defaults to Limits if that is
@ -3130,7 +3132,7 @@ module Google
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "role/resourcemanager.organizationAdmin", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1alpha1 module RunV1alpha1
VERSION = 'V1alpha1' VERSION = 'V1alpha1'
REVISION = '20190920' REVISION = '20190927'
# 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

@ -2515,7 +2515,7 @@ module Google
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "role/resourcemanager.organizationAdmin", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
@ -3948,7 +3948,7 @@ module Google
# ` # `
# "bindings": [ # "bindings": [
# ` # `
# "role": "role/resourcemanager.organizationAdmin", # "role": "roles/resourcemanager.organizationAdmin",
# "members": [ # "members": [
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
@ -4303,8 +4303,8 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :attributes attr_accessor :attributes
# TriggerFilterSourceAndType filters events based on exact matches on the cloud # TriggerFilterSourceAndType is DEPRECATED. Filters are now contained in the
# event's type and source attributes. Only exact matches will pass the filter. # map of attributes in TriggerFilter proto.
# Corresponds to the JSON property `sourceAndType` # Corresponds to the JSON property `sourceAndType`
# @return [Google::Apis::RunV1alpha1::TriggerFilterSourceAndType] # @return [Google::Apis::RunV1alpha1::TriggerFilterSourceAndType]
attr_accessor :source_and_type attr_accessor :source_and_type
@ -4320,8 +4320,8 @@ module Google
end end
end end
# TriggerFilterSourceAndType filters events based on exact matches on the cloud # TriggerFilterSourceAndType is DEPRECATED. Filters are now contained in the
# event's type and source attributes. Only exact matches will pass the filter. # map of attributes in TriggerFilter proto.
class TriggerFilterSourceAndType class TriggerFilterSourceAndType
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -26,10 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1beta1 module RunV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190920' REVISION = '20190927'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
end end
end end
end end

View File

@ -100,8 +100,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# ObjectMeta is metadata that all persisted resources must have, which includes # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
# all objects users must create. # persisted resources must have, which includes all objects users must create.
# Corresponds to the JSON property `metadata` # Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1beta1::ObjectMeta] # @return [Google::Apis::RunV1beta1::ObjectMeta]
attr_accessor :metadata attr_accessor :metadata
@ -444,49 +444,6 @@ module Google
end end
end end
# Initializer is information about an initializer that has not yet completed.
class Initializer
include Google::Apis::Core::Hashable
# name of the process that is responsible for initializing this object.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
end
end
# Initializers tracks the progress of initialization.
class Initializers
include Google::Apis::Core::Hashable
# Pending is a list of initializers that must execute in order before this
# object is visible. When the last pending initializer is removed, and no
# failing result is set, the initializers struct will be set to nil and the
# object is considered as initialized and visible to all clients.
# +patchMergeKey=name
# +patchStrategy=merge
# Corresponds to the JSON property `pending`
# @return [Array<Google::Apis::RunV1beta1::Initializer>]
attr_accessor :pending
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@pending = args[:pending] if args.key?(:pending)
end
end
# JSON represents any valid JSON value. # JSON represents any valid JSON value.
# These types are supported: bool, int64, float64, string, []interface``, # These types are supported: bool, int64, float64, string, []interface``,
# map[string]interface`` and nil. # map[string]interface`` and nil.
@ -930,28 +887,32 @@ module Google
end end
end end
# ObjectMeta is metadata that all persisted resources must have, which includes # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
# all objects users must create. # persisted resources must have, which includes all objects users must create.
class ObjectMeta class ObjectMeta
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# (Optional)
# Annotations is an unstructured key value map stored with a resource that # Annotations is an unstructured key value map stored with a resource that
# may be set by external tools to store and retrieve arbitrary metadata. They # may be set by external tools to store and retrieve arbitrary metadata. They
# are not queryable and should be preserved when modifying objects. More # are not queryable and should be preserved when modifying objects. More
# info: http://kubernetes.io/docs/user-guide/annotations +optional # info: http://kubernetes.io/docs/user-guide/annotations
# Corresponds to the JSON property `annotations` # Corresponds to the JSON property `annotations`
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :annotations attr_accessor :annotations
# Not currently supported by Cloud Run. # (Optional)
# Cloud Run fully managed: not supported
# Cloud Run for Anthos: supported
# The name of the cluster which the object belongs to. # The name of the cluster which the object belongs to.
# This is used to distinguish resources with same name and namespace in # This is used to distinguish resources with same name and namespace in
# different clusters. This field is not set anywhere right now and apiserver # different clusters. This field is not set anywhere right now and apiserver
# is going to ignore it if set in create or update request. +optional # is going to ignore it if set in create or update request.
# Corresponds to the JSON property `clusterName` # Corresponds to the JSON property `clusterName`
# @return [String] # @return [String]
attr_accessor :cluster_name attr_accessor :cluster_name
# (Optional)
# CreationTimestamp is a timestamp representing the server time when this # CreationTimestamp is a timestamp representing the server time when this
# object was created. It is not guaranteed to be set in happens-before order # object was created. It is not guaranteed to be set in happens-before order
# across separate operations. Clients may not set this value. It is # across separate operations. Clients may not set this value. It is
@ -961,19 +922,23 @@ module Google
# Null for lists. # Null for lists.
# More info: # More info:
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
# +optional
# Corresponds to the JSON property `creationTimestamp` # Corresponds to the JSON property `creationTimestamp`
# @return [String] # @return [String]
attr_accessor :creation_timestamp attr_accessor :creation_timestamp
# Not currently supported by Cloud Run. # (Optional)
# Cloud Run fully managed: not supported
# Cloud Run for Anthos: supported
# Number of seconds allowed for this object to gracefully terminate before # Number of seconds allowed for this object to gracefully terminate before
# it will be removed from the system. Only set when deletionTimestamp is also # it will be removed from the system. Only set when deletionTimestamp is also
# set. May only be shortened. Read-only. +optional # set. May only be shortened. Read-only.
# Corresponds to the JSON property `deletionGracePeriodSeconds` # Corresponds to the JSON property `deletionGracePeriodSeconds`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :deletion_grace_period_seconds attr_accessor :deletion_grace_period_seconds
# (Optional)
# Cloud Run fully managed: not supported
# Cloud Run for Anthos: supported
# DeletionTimestamp is RFC 3339 date and time at which this resource will be # DeletionTimestamp is RFC 3339 date and time at which this resource will be
# deleted. This field is set by the server when a graceful deletion is # deleted. This field is set by the server when a graceful deletion is
# requested by the user, and is not directly settable by a client. The # requested by the user, and is not directly settable by a client. The
@ -995,23 +960,25 @@ module Google
# Read-only. # Read-only.
# More info: # More info:
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
# +optional
# Corresponds to the JSON property `deletionTimestamp` # Corresponds to the JSON property `deletionTimestamp`
# @return [String] # @return [String]
attr_accessor :deletion_timestamp attr_accessor :deletion_timestamp
# Not currently supported by Cloud Run. # (Optional)
# Cloud Run fully managed: not supported
# Cloud Run for Anthos: supported
# Must be empty before the object is deleted from the registry. Each entry # Must be empty before the object is deleted from the registry. Each entry
# is an identifier for the responsible component that will remove the entry # is an identifier for the responsible component that will remove the entry
# from the list. If the deletionTimestamp of the object is non-nil, entries # from the list. If the deletionTimestamp of the object is non-nil, entries
# in this list can only be removed. # in this list can only be removed.
# +optional
# +patchStrategy=merge # +patchStrategy=merge
# Corresponds to the JSON property `finalizers` # Corresponds to the JSON property `finalizers`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :finalizers attr_accessor :finalizers
# Not currently supported by Cloud Run. # (Optional)
# Cloud Run fully managed: not supported
# Cloud Run for Anthos: supported
# GenerateName is an optional prefix, used by the server, to generate a # GenerateName is an optional prefix, used by the server, to generate a
# unique name ONLY IF the Name field has not been provided. If this field is # unique name ONLY IF the Name field has not been provided. If this field is
# used, the name returned to the client will be different than the name # used, the name returned to the client will be different than the name
@ -1027,29 +994,23 @@ module Google
# Applied only if Name is not specified. # Applied only if Name is not specified.
# More info: # More info:
# https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
# +optional
# string generateName = 2; # string generateName = 2;
# Corresponds to the JSON property `generateName` # Corresponds to the JSON property `generateName`
# @return [String] # @return [String]
attr_accessor :generate_name attr_accessor :generate_name
# (Optional)
# A sequence number representing a specific generation of the desired state. # A sequence number representing a specific generation of the desired state.
# Populated by the system. Read-only. # Populated by the system. Read-only.
# +optional
# Corresponds to the JSON property `generation` # Corresponds to the JSON property `generation`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :generation attr_accessor :generation
# Initializers tracks the progress of initialization. # (Optional)
# Corresponds to the JSON property `initializers`
# @return [Google::Apis::RunV1beta1::Initializers]
attr_accessor :initializers
# Map of string keys and values that can be used to organize and categorize # Map of string keys and values that can be used to organize and categorize
# (scope and select) objects. May match selectors of replication controllers # (scope and select) objects. May match selectors of replication controllers
# and routes. # and routes.
# More info: http://kubernetes.io/docs/user-guide/labels # More info: http://kubernetes.io/docs/user-guide/labels
# +optional
# Corresponds to the JSON property `labels` # Corresponds to the JSON property `labels`
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
@ -1072,13 +1033,16 @@ module Google
# @return [String] # @return [String]
attr_accessor :namespace attr_accessor :namespace
# (Optional)
# Cloud Run fully managed: not supported
# Cloud Run for Anthos: supported
# List of objects that own this object. If ALL objects in the list have # List of objects that own this object. If ALL objects in the list have
# been deleted, this object will be garbage collected. # been deleted, this object will be garbage collected.
# +optional
# Corresponds to the JSON property `ownerReferences` # Corresponds to the JSON property `ownerReferences`
# @return [Array<Google::Apis::RunV1beta1::OwnerReference>] # @return [Array<Google::Apis::RunV1beta1::OwnerReference>]
attr_accessor :owner_references attr_accessor :owner_references
# (Optional)
# An opaque value that represents the internal version of this object that # An opaque value that represents the internal version of this object that
# can be used by clients to determine when objects have changed. May be used # can be used by clients to determine when objects have changed. May be used
# for optimistic concurrency, change detection, and the watch operation on a # for optimistic concurrency, change detection, and the watch operation on a
@ -1091,27 +1055,26 @@ module Google
# More info: # More info:
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency- # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
# control-and-consistency # control-and-consistency
# +optional
# Corresponds to the JSON property `resourceVersion` # Corresponds to the JSON property `resourceVersion`
# @return [String] # @return [String]
attr_accessor :resource_version attr_accessor :resource_version
# (Optional)
# SelfLink is a URL representing this object. # SelfLink is a URL representing this object.
# Populated by the system. # Populated by the system.
# Read-only. # Read-only.
# +optional
# string selfLink = 4; # string selfLink = 4;
# Corresponds to the JSON property `selfLink` # Corresponds to the JSON property `selfLink`
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# (Optional)
# UID is the unique in time and space value for this object. It is typically # UID is the unique in time and space value for this object. It is typically
# generated by the server on successful creation of a resource and is not # generated by the server on successful creation of a resource and is not
# allowed to change on PUT operations. # allowed to change on PUT operations.
# Populated by the system. # Populated by the system.
# Read-only. # Read-only.
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
# +optional
# Corresponds to the JSON property `uid` # Corresponds to the JSON property `uid`
# @return [String] # @return [String]
attr_accessor :uid attr_accessor :uid
@ -1130,7 +1093,6 @@ module Google
@finalizers = args[:finalizers] if args.key?(:finalizers) @finalizers = args[:finalizers] if args.key?(:finalizers)
@generate_name = args[:generate_name] if args.key?(:generate_name) @generate_name = args[:generate_name] if args.key?(:generate_name)
@generation = args[:generation] if args.key?(:generation) @generation = args[:generation] if args.key?(:generation)
@initializers = args[:initializers] if args.key?(:initializers)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@namespace = args[:namespace] if args.key?(:namespace) @namespace = args[:namespace] if args.key?(:namespace)

View File

@ -82,18 +82,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Initializer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Initializers
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Json class Json
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -253,21 +241,6 @@ module Google
end end
end end
class Initializer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
end
end
class Initializers
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :pending, as: 'pending', class: Google::Apis::RunV1beta1::Initializer, decorator: Google::Apis::RunV1beta1::Initializer::Representation
end
end
class Json class Json
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -392,8 +365,6 @@ module Google
collection :finalizers, as: 'finalizers' collection :finalizers, as: 'finalizers'
property :generate_name, as: 'generateName' property :generate_name, as: 'generateName'
property :generation, as: 'generation' property :generation, as: 'generation'
property :initializers, as: 'initializers', class: Google::Apis::RunV1beta1::Initializers, decorator: Google::Apis::RunV1beta1::Initializers::Representation
hash :labels, as: 'labels' hash :labels, as: 'labels'
property :name, as: 'name' property :name, as: 'name'
property :namespace, as: 'namespace' property :namespace, as: 'namespace'

View File

@ -104,6 +104,68 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Rpc to get information about a CustomResourceDefinition.
# @param [String] name
# The name of the CustomResourceDefinition being retrieved. If needed,
# replace `namespace_id` with the project ID.
# @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::RunV1beta1::CustomResourceDefinition] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1beta1::CustomResourceDefinition]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_namespace_customresourcedefinition(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'apis/apiextensions.k8s.io/v1beta1/{+name}', options)
command.response_representation = Google::Apis::RunV1beta1::CustomResourceDefinition::Representation
command.response_class = Google::Apis::RunV1beta1::CustomResourceDefinition
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
# Rpc to get information about a CustomResourceDefinition.
# @param [String] name
# The name of the CustomResourceDefinition being retrieved. If needed,
# replace `namespace_id` with the project ID.
# @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::RunV1beta1::CustomResourceDefinition] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1beta1::CustomResourceDefinition]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_customresourcedefinition(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::RunV1beta1::CustomResourceDefinition::Representation
command.response_class = Google::Apis::RunV1beta1::CustomResourceDefinition
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
# Rpc to list custom resource definitions. # Rpc to list custom resource definitions.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the storages should # The project ID or project number from which the storages should

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/runtime-configurator/ # @see https://cloud.google.com/deployment-manager/runtime-configurator/
module RuntimeconfigV1beta1 module RuntimeconfigV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190923' REVISION = '20190930'
# 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

@ -241,6 +241,7 @@ module Google
# Sets the access control policy on the specified resource. Replaces any # Sets the access control policy on the specified resource. Replaces any
# existing policy. # existing policy.
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. # REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field. # See the operation documentation for the appropriate value for this field.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/vault # @see https://developers.google.com/vault
module VaultV1 module VaultV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190614' REVISION = '20190918'
# Manage your eDiscovery data # Manage your eDiscovery data
AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery' AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery'

View File

@ -1028,6 +1028,39 @@ module Google
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Deletes a long-running operation. This method indicates that the client is
# no longer interested in the operation result. It does not cancel the
# operation. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`.
# @param [String] name
# The name of the operation resource to be deleted.
# @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::VaultV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::VaultV1::Empty]
#
# @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 delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::VaultV1::Empty::Representation
command.response_class = Google::Apis::VaultV1::Empty
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