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:
parent
2c70ecc91f
commit
112efade69
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/binary-authorization/
|
||||
module BinaryauthorizationV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190919'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -309,7 +309,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
@ -548,7 +548,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/binary-authorization/
|
||||
module BinaryauthorizationV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190919'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -309,7 +309,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
@ -548,7 +548,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190830'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -505,25 +505,34 @@ module Google
|
|||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
||||
# specify access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
||||
# `members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# 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**
|
||||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "roles/owner",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
# "domain:google.com",
|
||||
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
||||
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "role": "roles/viewer",
|
||||
# "members": ["user:sean@example.com"]
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "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
|
||||
# - group:admins@example.com
|
||||
# - domain:google.com
|
||||
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner
|
||||
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
||||
# role: roles/resourcemanager.organizationAdmin
|
||||
# - members:
|
||||
# - user:sean@example.com
|
||||
# role: roles/viewer
|
||||
# - user:eve@example.com
|
||||
# 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
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
class Policy
|
||||
|
@ -548,7 +561,8 @@ module Google
|
|||
# @return [Array<Google::Apis::CloudresourcemanagerV2::AuditConfig>]
|
||||
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.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
# @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
|
||||
# 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
|
||||
# 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`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -571,9 +587,13 @@ module Google
|
|||
# Specifies the format of the policy.
|
||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
||||
# rejected.
|
||||
# Policies with any conditional bindings must specify version 3. Policies
|
||||
# without any conditional bindings may specify any valid value or leave the
|
||||
# field unset.
|
||||
# Operations affecting conditional bindings must specify version 3. This can
|
||||
# be either setting a conditional policy, modifying a conditional binding,
|
||||
# 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`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -714,25 +734,34 @@ module Google
|
|||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
||||
# specify access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
||||
# `members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# 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**
|
||||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "roles/owner",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
# "domain:google.com",
|
||||
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
||||
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "role": "roles/viewer",
|
||||
# "members": ["user:sean@example.com"]
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "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
|
||||
# - group:admins@example.com
|
||||
# - domain:google.com
|
||||
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner
|
||||
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
||||
# role: roles/resourcemanager.organizationAdmin
|
||||
# - members:
|
||||
# - user:sean@example.com
|
||||
# role: roles/viewer
|
||||
# - user:eve@example.com
|
||||
# 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
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
# Corresponds to the JSON property `policy`
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tasks/
|
||||
module CloudtasksV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20190906'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -918,25 +918,34 @@ module Google
|
|||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
||||
# specify access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
||||
# `members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# 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**
|
||||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "roles/owner",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
# "domain:google.com",
|
||||
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
||||
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "role": "roles/viewer",
|
||||
# "members": ["user:sean@example.com"]
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "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
|
||||
# - group:admins@example.com
|
||||
# - domain:google.com
|
||||
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner
|
||||
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
||||
# role: roles/resourcemanager.organizationAdmin
|
||||
# - members:
|
||||
# - user:sean@example.com
|
||||
# role: roles/viewer
|
||||
# - user:eve@example.com
|
||||
# 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
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
class Policy
|
||||
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.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
# @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
|
||||
# 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
|
||||
# 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`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -979,9 +995,13 @@ module Google
|
|||
# Specifies the format of the policy.
|
||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
||||
# rejected.
|
||||
# Policies with any conditional bindings must specify version 3. Policies
|
||||
# without any conditional bindings may specify any valid value or leave the
|
||||
# field unset.
|
||||
# Operations affecting conditional bindings must specify version 3. This can
|
||||
# be either setting a conditional policy, modifying a conditional binding,
|
||||
# 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`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -1466,25 +1486,34 @@ module Google
|
|||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
||||
# specify access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
||||
# `members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# 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**
|
||||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "roles/owner",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
# "domain:google.com",
|
||||
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
||||
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "role": "roles/viewer",
|
||||
# "members": ["user:sean@example.com"]
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "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
|
||||
# - group:admins@example.com
|
||||
# - domain:google.com
|
||||
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner
|
||||
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
||||
# role: roles/resourcemanager.organizationAdmin
|
||||
# - members:
|
||||
# - user:sean@example.com
|
||||
# role: roles/viewer
|
||||
# - user:eve@example.com
|
||||
# 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
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
# Corresponds to the JSON property `policy`
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190920'
|
||||
REVISION = '20190929'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -3846,34 +3846,6 @@ module Google
|
|||
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.
|
||||
class GooglePrivacyDlpV2ListInfoTypesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -646,12 +646,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2ListInfoTypesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2ListInfoTypesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2163,14 +2157,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2ListInfoTypesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :filter, as: 'filter'
|
||||
property :language_code, as: 'languageCode'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2ListInfoTypesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -97,7 +97,13 @@ module Google
|
|||
# @param [String] location
|
||||
# The geographic location to list info types. Reserved for future
|
||||
# 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
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @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::ClientError] The request is invalid and should not be retried without modification
|
||||
# @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)
|
||||
command = make_simple_command(:post, '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
|
||||
def list_location_info_types(location, filter: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v2/locations/{location}/infoTypes', options)
|
||||
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
|
||||
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['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190903'
|
||||
REVISION = '20190923'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -933,6 +933,13 @@ module Google
|
|||
attr_accessor :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).
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
|
@ -962,6 +969,7 @@ module Google
|
|||
@alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@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)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
|
|
|
@ -437,6 +437,7 @@ module Google
|
|||
|
||||
property :description, as: 'description'
|
||||
property :enable_inbound_forwarding, as: 'enableInboundForwarding'
|
||||
property :enable_logging, as: 'enableLogging'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20190903'
|
||||
REVISION = '20190923'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -933,6 +933,13 @@ module Google
|
|||
attr_accessor :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).
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
|
@ -962,6 +969,7 @@ module Google
|
|||
@alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@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)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
|
|
|
@ -437,6 +437,7 @@ module Google
|
|||
|
||||
property :description, as: 'description'
|
||||
property :enable_inbound_forwarding, as: 'enableInboundForwarding'
|
||||
property :enable_logging, as: 'enableLogging'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
|
|
|
@ -30,7 +30,7 @@ module Google
|
|||
# @see https://cloud.google.com/monitoring/api/
|
||||
module MonitoringV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20190923'
|
||||
REVISION = '20190929'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2324,8 +2324,9 @@ module Google
|
|||
# the start time.
|
||||
# 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
|
||||
# interval represents a single point in time. Such an interval is valid only
|
||||
# for GAUGE metrics, which are point-in-time measurements.
|
||||
# interval represents a single point in time. If both start and end times are
|
||||
# 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
|
||||
# time.
|
||||
# In all cases, the start time of the next interval must be at least a
|
||||
|
@ -2531,8 +2532,9 @@ module Google
|
|||
# the start time.
|
||||
# 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
|
||||
# interval represents a single point in time. Such an interval is valid only
|
||||
# for GAUGE metrics, which are point-in-time measurements.
|
||||
# interval represents a single point in time. If both start and end times are
|
||||
# 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
|
||||
# time.
|
||||
# In all cases, the start time of the next interval must be at least a
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/run/
|
||||
module RunV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190920'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -638,7 +638,7 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# (Optional)
|
||||
# Cloud Run fully managed: not supported
|
||||
# Cloud Run fully managed: supported
|
||||
# Cloud Run for Anthos: supported
|
||||
# Arguments to the entrypoint.
|
||||
# The docker image's CMD is used if this is not provided.
|
||||
|
@ -2187,7 +2187,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
@ -2400,7 +2400,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# (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
|
||||
# Limits describes the maximum amount of compute resources allowed.
|
||||
# The values of the map is string form of the 'quantity' k8s type:
|
||||
|
@ -2411,7 +2412,8 @@ module Google
|
|||
attr_accessor :limits
|
||||
|
||||
# (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
|
||||
# Requests describes the minimum amount of compute resources required.
|
||||
# If Requests is omitted for a container, it defaults to Limits if that is
|
||||
|
@ -3130,7 +3132,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/run/
|
||||
module RunV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20190920'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2515,7 +2515,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
@ -3948,7 +3948,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
@ -4303,8 +4303,8 @@ module Google
|
|||
# @return [Hash<String,String>]
|
||||
attr_accessor :attributes
|
||||
|
||||
# TriggerFilterSourceAndType filters events based on exact matches on the cloud
|
||||
# event's type and source attributes. Only exact matches will pass the filter.
|
||||
# TriggerFilterSourceAndType is DEPRECATED. Filters are now contained in the
|
||||
# map of attributes in TriggerFilter proto.
|
||||
# Corresponds to the JSON property `sourceAndType`
|
||||
# @return [Google::Apis::RunV1alpha1::TriggerFilterSourceAndType]
|
||||
attr_accessor :source_and_type
|
||||
|
@ -4320,8 +4320,8 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# TriggerFilterSourceAndType filters events based on exact matches on the cloud
|
||||
# event's type and source attributes. Only exact matches will pass the filter.
|
||||
# TriggerFilterSourceAndType is DEPRECATED. Filters are now contained in the
|
||||
# map of attributes in TriggerFilter proto.
|
||||
class TriggerFilterSourceAndType
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
|
@ -26,10 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/run/
|
||||
module RunV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190920'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
REVISION = '20190927'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -100,8 +100,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# ObjectMeta is metadata that all persisted resources must have, which includes
|
||||
# all objects users must create.
|
||||
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
||||
# persisted resources must have, which includes all objects users must create.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Google::Apis::RunV1beta1::ObjectMeta]
|
||||
attr_accessor :metadata
|
||||
|
@ -444,49 +444,6 @@ module Google
|
|||
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.
|
||||
# These types are supported: bool, int64, float64, string, []interface``,
|
||||
# map[string]interface`` and nil.
|
||||
|
@ -930,28 +887,32 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# ObjectMeta is metadata that all persisted resources must have, which includes
|
||||
# all objects users must create.
|
||||
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
|
||||
# persisted resources must have, which includes all objects users must create.
|
||||
class ObjectMeta
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# (Optional)
|
||||
# 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
|
||||
# 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`
|
||||
# @return [Hash<String,String>]
|
||||
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.
|
||||
# This is used to distinguish resources with same name and namespace in
|
||||
# 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`
|
||||
# @return [String]
|
||||
attr_accessor :cluster_name
|
||||
|
||||
# (Optional)
|
||||
# CreationTimestamp is a timestamp representing the server time when this
|
||||
# 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
|
||||
|
@ -961,19 +922,23 @@ module Google
|
|||
# Null for lists.
|
||||
# More info:
|
||||
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
||||
# +optional
|
||||
# Corresponds to the JSON property `creationTimestamp`
|
||||
# @return [String]
|
||||
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
|
||||
# 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`
|
||||
# @return [Fixnum]
|
||||
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
|
||||
# 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
|
||||
|
@ -995,23 +960,25 @@ module Google
|
|||
# Read-only.
|
||||
# More info:
|
||||
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
||||
# +optional
|
||||
# Corresponds to the JSON property `deletionTimestamp`
|
||||
# @return [String]
|
||||
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
|
||||
# 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
|
||||
# in this list can only be removed.
|
||||
# +optional
|
||||
# +patchStrategy=merge
|
||||
# Corresponds to the JSON property `finalizers`
|
||||
# @return [Array<String>]
|
||||
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
|
||||
# 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
|
||||
|
@ -1027,29 +994,23 @@ module Google
|
|||
# Applied only if Name is not specified.
|
||||
# More info:
|
||||
# https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
|
||||
# +optional
|
||||
# string generateName = 2;
|
||||
# Corresponds to the JSON property `generateName`
|
||||
# @return [String]
|
||||
attr_accessor :generate_name
|
||||
|
||||
# (Optional)
|
||||
# A sequence number representing a specific generation of the desired state.
|
||||
# Populated by the system. Read-only.
|
||||
# +optional
|
||||
# Corresponds to the JSON property `generation`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :generation
|
||||
|
||||
# Initializers tracks the progress of initialization.
|
||||
# Corresponds to the JSON property `initializers`
|
||||
# @return [Google::Apis::RunV1beta1::Initializers]
|
||||
attr_accessor :initializers
|
||||
|
||||
# (Optional)
|
||||
# Map of string keys and values that can be used to organize and categorize
|
||||
# (scope and select) objects. May match selectors of replication controllers
|
||||
# and routes.
|
||||
# More info: http://kubernetes.io/docs/user-guide/labels
|
||||
# +optional
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
@ -1072,13 +1033,16 @@ module Google
|
|||
# @return [String]
|
||||
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
|
||||
# been deleted, this object will be garbage collected.
|
||||
# +optional
|
||||
# Corresponds to the JSON property `ownerReferences`
|
||||
# @return [Array<Google::Apis::RunV1beta1::OwnerReference>]
|
||||
attr_accessor :owner_references
|
||||
|
||||
# (Optional)
|
||||
# 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
|
||||
# for optimistic concurrency, change detection, and the watch operation on a
|
||||
|
@ -1091,27 +1055,26 @@ module Google
|
|||
# More info:
|
||||
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
|
||||
# control-and-consistency
|
||||
# +optional
|
||||
# Corresponds to the JSON property `resourceVersion`
|
||||
# @return [String]
|
||||
attr_accessor :resource_version
|
||||
|
||||
# (Optional)
|
||||
# SelfLink is a URL representing this object.
|
||||
# Populated by the system.
|
||||
# Read-only.
|
||||
# +optional
|
||||
# string selfLink = 4;
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# (Optional)
|
||||
# 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
|
||||
# allowed to change on PUT operations.
|
||||
# Populated by the system.
|
||||
# Read-only.
|
||||
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
||||
# +optional
|
||||
# Corresponds to the JSON property `uid`
|
||||
# @return [String]
|
||||
attr_accessor :uid
|
||||
|
@ -1130,7 +1093,6 @@ module Google
|
|||
@finalizers = args[:finalizers] if args.key?(:finalizers)
|
||||
@generate_name = args[:generate_name] if args.key?(:generate_name)
|
||||
@generation = args[:generation] if args.key?(:generation)
|
||||
@initializers = args[:initializers] if args.key?(:initializers)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@namespace = args[:namespace] if args.key?(:namespace)
|
||||
|
|
|
@ -82,18 +82,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
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 Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -253,21 +241,6 @@ module Google
|
|||
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
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -392,8 +365,6 @@ module Google
|
|||
collection :finalizers, as: 'finalizers'
|
||||
property :generate_name, as: 'generateName'
|
||||
property :generation, as: 'generation'
|
||||
property :initializers, as: 'initializers', class: Google::Apis::RunV1beta1::Initializers, decorator: Google::Apis::RunV1beta1::Initializers::Representation
|
||||
|
||||
hash :labels, as: 'labels'
|
||||
property :name, as: 'name'
|
||||
property :namespace, as: 'namespace'
|
||||
|
|
|
@ -104,6 +104,68 @@ module Google
|
|||
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_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.
|
||||
# @param [String] parent
|
||||
# The project ID or project number from which the storages should
|
||||
|
|
|
@ -28,7 +28,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
|
||||
module RuntimeconfigV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190923'
|
||||
REVISION = '20190930'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -241,6 +241,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/vault
|
||||
module VaultV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190614'
|
||||
REVISION = '20190918'
|
||||
|
||||
# Manage your eDiscovery data
|
||||
AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery'
|
||||
|
|
|
@ -1028,6 +1028,39 @@ module Google
|
|||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue