Autogenerated update (2019-12-06)
Update: - container_v1beta1 - dlp_v2 - ml_v1 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - runtimeconfig_v1beta1
This commit is contained in:
parent
be92dcdad6
commit
a716526a90
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/container-engine/
|
# @see https://cloud.google.com/container-engine/
|
||||||
module ContainerV1beta1
|
module ContainerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20191024'
|
REVISION = '20191115'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -218,6 +218,32 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# AvailableVersion is an additional Kubernetes versions offered
|
||||||
|
# to users who subscribed to the release channel.
|
||||||
|
class AvailableVersion
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Reason for availability.
|
||||||
|
# Corresponds to the JSON property `reason`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :reason
|
||||||
|
|
||||||
|
# Kubernetes version.
|
||||||
|
# Corresponds to the JSON property `version`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :version
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@reason = args[:reason] if args.key?(:reason)
|
||||||
|
@version = args[:version] if args.key?(:version)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Parameters for using BigQuery as the destination of resource usage export.
|
# Parameters for using BigQuery as the destination of resource usage export.
|
||||||
class BigQueryDestination
|
class BigQueryDestination
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -3019,6 +3045,11 @@ module Google
|
||||||
class ReleaseChannelConfig
|
class ReleaseChannelConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# List of available versions for the release channel.
|
||||||
|
# Corresponds to the JSON property `availableVersions`
|
||||||
|
# @return [Array<Google::Apis::ContainerV1beta1::AvailableVersion>]
|
||||||
|
attr_accessor :available_versions
|
||||||
|
|
||||||
# The release channel this configuration applies to.
|
# The release channel this configuration applies to.
|
||||||
# Corresponds to the JSON property `channel`
|
# Corresponds to the JSON property `channel`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -3035,6 +3066,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@available_versions = args[:available_versions] if args.key?(:available_versions)
|
||||||
@channel = args[:channel] if args.key?(:channel)
|
@channel = args[:channel] if args.key?(:channel)
|
||||||
@default_version = args[:default_version] if args.key?(:default_version)
|
@default_version = args[:default_version] if args.key?(:default_version)
|
||||||
end
|
end
|
||||||
|
|
|
@ -52,6 +52,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AvailableVersion
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class BigQueryDestination
|
class BigQueryDestination
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -640,6 +646,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AvailableVersion
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :reason, as: 'reason'
|
||||||
|
property :version, as: 'version'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class BigQueryDestination
|
class BigQueryDestination
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1308,6 +1322,8 @@ module Google
|
||||||
class ReleaseChannelConfig
|
class ReleaseChannelConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :available_versions, as: 'availableVersions', class: Google::Apis::ContainerV1beta1::AvailableVersion, decorator: Google::Apis::ContainerV1beta1::AvailableVersion::Representation
|
||||||
|
|
||||||
property :channel, as: 'channel'
|
property :channel, as: 'channel'
|
||||||
property :default_version, as: 'defaultVersion'
|
property :default_version, as: 'defaultVersion'
|
||||||
end
|
end
|
||||||
|
|
|
@ -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 = '20191118'
|
REVISION = '20191202'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1212,7 +1212,7 @@ module Google
|
||||||
class GooglePrivacyDlpV2CreateStoredInfoTypeRequest
|
class GooglePrivacyDlpV2CreateStoredInfoTypeRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Configuration for stored infoT types. All fields and subfield are provided
|
# Configuration for stored infoTypes. All fields and subfield are provided
|
||||||
# by the user. For more information, see
|
# by the user. For more information, see
|
||||||
# https://cloud.google.com/dlp/docs/creating-custom-infotypes.
|
# https://cloud.google.com/dlp/docs/creating-custom-infotypes.
|
||||||
# Corresponds to the JSON property `config`
|
# Corresponds to the JSON property `config`
|
||||||
|
@ -5287,7 +5287,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Configuration for stored infoT types. All fields and subfield are provided
|
# Configuration for stored infoTypes. All fields and subfield are provided
|
||||||
# by the user. For more information, see
|
# by the user. For more information, see
|
||||||
# https://cloud.google.com/dlp/docs/creating-custom-infotypes.
|
# https://cloud.google.com/dlp/docs/creating-custom-infotypes.
|
||||||
class GooglePrivacyDlpV2StoredInfoTypeConfig
|
class GooglePrivacyDlpV2StoredInfoTypeConfig
|
||||||
|
@ -5349,7 +5349,7 @@ module Google
|
||||||
class GooglePrivacyDlpV2StoredInfoTypeVersion
|
class GooglePrivacyDlpV2StoredInfoTypeVersion
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Configuration for stored infoT types. All fields and subfield are provided
|
# Configuration for stored infoTypes. All fields and subfield are provided
|
||||||
# by the user. For more information, see
|
# by the user. For more information, see
|
||||||
# https://cloud.google.com/dlp/docs/creating-custom-infotypes.
|
# https://cloud.google.com/dlp/docs/creating-custom-infotypes.
|
||||||
# Corresponds to the JSON property `config`
|
# Corresponds to the JSON property `config`
|
||||||
|
@ -5892,7 +5892,7 @@ module Google
|
||||||
class GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
|
class GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Configuration for stored infoT types. All fields and subfield are provided
|
# Configuration for stored infoTypes. All fields and subfield are provided
|
||||||
# by the user. For more information, see
|
# by the user. For more information, see
|
||||||
# https://cloud.google.com/dlp/docs/creating-custom-infotypes.
|
# https://cloud.google.com/dlp/docs/creating-custom-infotypes.
|
||||||
# Corresponds to the JSON property `config`
|
# Corresponds to the JSON property `config`
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/ml/
|
# @see https://cloud.google.com/ml/
|
||||||
module MlV1
|
module MlV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191112'
|
REVISION = '20191122'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -2135,6 +2135,23 @@ module Google
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||||
# * `group:`emailid``: An email address that represents a Google group.
|
# * `group:`emailid``: An email address that represents a Google group.
|
||||||
# For example, `admins@example.com`.
|
# For example, `admins@example.com`.
|
||||||
|
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
|
# identifier) representing a user that has been recently deleted. For
|
||||||
|
# example,`alice@example.com?uid=123456789012345678901`. If the user is
|
||||||
|
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
||||||
|
# retains the role in the binding.
|
||||||
|
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
||||||
|
# unique identifier) representing a service account that has been recently
|
||||||
|
# deleted. For example,
|
||||||
|
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||||
|
# If the service account is undeleted, this value reverts to
|
||||||
|
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
||||||
|
# role in the binding.
|
||||||
|
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
|
# identifier) representing a Google group that has been recently
|
||||||
|
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
||||||
|
# the group is recovered, this value reverts to `group:`emailid`` and the
|
||||||
|
# recovered group retains the role in the binding.
|
||||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||||
# users of that domain. For example, `google.com` or `example.com`.
|
# users of that domain. For example, `google.com` or `example.com`.
|
||||||
# Corresponds to the JSON property `members`
|
# Corresponds to the JSON property `members`
|
||||||
|
@ -2159,16 +2176,18 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# specify access control policies for Cloud Platform resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# 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,
|
# `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
|
# 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
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||||
# optionally specify a `condition`, which is a logic expression that further
|
# custom role.
|
||||||
# constrains the role binding based on attributes about the request and/or
|
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||||
# target resource.
|
# expression that allows access to a resource only if the expression evaluates
|
||||||
# **JSON Example**
|
# to `true`. A condition can add constraints based on attributes of the
|
||||||
|
# request, the resource, or both.
|
||||||
|
# **JSON example:**
|
||||||
# `
|
# `
|
||||||
# "bindings": [
|
# "bindings": [
|
||||||
# `
|
# `
|
||||||
|
@ -2186,13 +2205,15 @@ module Google
|
||||||
# "condition": `
|
# "condition": `
|
||||||
# "title": "expirable access",
|
# "title": "expirable access",
|
||||||
# "description": "Does not grant access after Sep 2020",
|
# "description": "Does not grant access after Sep 2020",
|
||||||
# "expression": "request.time <
|
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
# ",
|
||||||
# `
|
# `
|
||||||
# `
|
# `
|
||||||
# ]
|
# ],
|
||||||
|
# "etag": "BwWWja0YfJA=",
|
||||||
|
# "version": 3
|
||||||
# `
|
# `
|
||||||
# **YAML Example**
|
# **YAML example:**
|
||||||
# bindings:
|
# bindings:
|
||||||
# - members:
|
# - members:
|
||||||
# - user:mike@example.com
|
# - user:mike@example.com
|
||||||
|
@ -2207,8 +2228,10 @@ module Google
|
||||||
# title: expirable access
|
# title: expirable access
|
||||||
# description: Does not grant access after Sep 2020
|
# description: Does not grant access after Sep 2020
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
|
# - etag: BwWWja0YfJA=
|
||||||
|
# - version: 3
|
||||||
# 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 documentation](https://cloud.google.com/iam/docs/).
|
||||||
class GoogleIamV1Policy
|
class GoogleIamV1Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -2217,9 +2240,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::MlV1::GoogleIamV1AuditConfig>]
|
# @return [Array<Google::Apis::MlV1::GoogleIamV1AuditConfig>]
|
||||||
attr_accessor :audit_configs
|
attr_accessor :audit_configs
|
||||||
|
|
||||||
# Associates a list of `members` to a `role`. Optionally may specify a
|
# Associates a list of `members` to a `role`. Optionally, may specify a
|
||||||
# `condition` that determines when binding is in effect.
|
# `condition` that determines how and when the `bindings` are applied. Each
|
||||||
# `bindings` with no members will result in an error.
|
# of the `bindings` must contain at least one member.
|
||||||
# Corresponds to the JSON property `bindings`
|
# Corresponds to the JSON property `bindings`
|
||||||
# @return [Array<Google::Apis::MlV1::GoogleIamV1Binding>]
|
# @return [Array<Google::Apis::MlV1::GoogleIamV1Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -2231,26 +2254,31 @@ module Google
|
||||||
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
||||||
# 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
|
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||||
# 'setIamPolicy' will not fail even if the incoming policy version does not
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
# meet the requirements for modifying the stored policy.
|
# the conditions in the version `3` policy are lost.
|
||||||
# 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]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
|
||||||
# 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 that specify an invalid value
|
||||||
# rejected.
|
# are rejected.
|
||||||
# Operations affecting conditional bindings must specify version 3. This can
|
# Any operation that affects conditional role bindings must specify version
|
||||||
# be either setting a conditional policy, modifying a conditional binding,
|
# `3`. This requirement applies to the following operations:
|
||||||
# or removing a binding (conditional or unconditional) from the stored
|
# * Getting a policy that includes a conditional role binding
|
||||||
# conditional policy.
|
# * Adding a conditional role binding to a policy
|
||||||
# Operations on non-conditional policies may specify any valid value or
|
# * Changing a conditional role binding in a policy
|
||||||
# leave the field unset.
|
# * Removing any role binding, with or without a condition, from a policy
|
||||||
# If no etag is provided in the call to `setIamPolicy`, version compliance
|
# that includes conditions
|
||||||
# checks against the stored policy is skipped.
|
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||||
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
|
# the conditions in the version `3` policy are lost.
|
||||||
|
# If a policy does not include any conditions, operations on that policy may
|
||||||
|
# specify any valid version or leave the field unset.
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -2272,16 +2300,18 @@ module Google
|
||||||
class GoogleIamV1SetIamPolicyRequest
|
class GoogleIamV1SetIamPolicyRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# specify access control policies for Cloud Platform resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# 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,
|
# `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
|
# 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
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||||
# optionally specify a `condition`, which is a logic expression that further
|
# custom role.
|
||||||
# constrains the role binding based on attributes about the request and/or
|
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||||
# target resource.
|
# expression that allows access to a resource only if the expression evaluates
|
||||||
# **JSON Example**
|
# to `true`. A condition can add constraints based on attributes of the
|
||||||
|
# request, the resource, or both.
|
||||||
|
# **JSON example:**
|
||||||
# `
|
# `
|
||||||
# "bindings": [
|
# "bindings": [
|
||||||
# `
|
# `
|
||||||
|
@ -2299,13 +2329,15 @@ module Google
|
||||||
# "condition": `
|
# "condition": `
|
||||||
# "title": "expirable access",
|
# "title": "expirable access",
|
||||||
# "description": "Does not grant access after Sep 2020",
|
# "description": "Does not grant access after Sep 2020",
|
||||||
# "expression": "request.time <
|
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
# ",
|
||||||
# `
|
# `
|
||||||
# `
|
# `
|
||||||
# ]
|
# ],
|
||||||
|
# "etag": "BwWWja0YfJA=",
|
||||||
|
# "version": 3
|
||||||
# `
|
# `
|
||||||
# **YAML Example**
|
# **YAML example:**
|
||||||
# bindings:
|
# bindings:
|
||||||
# - members:
|
# - members:
|
||||||
# - user:mike@example.com
|
# - user:mike@example.com
|
||||||
|
@ -2320,8 +2352,10 @@ module Google
|
||||||
# title: expirable access
|
# title: expirable access
|
||||||
# description: Does not grant access after Sep 2020
|
# description: Does not grant access after Sep 2020
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
|
# - etag: BwWWja0YfJA=
|
||||||
|
# - version: 3
|
||||||
# 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 documentation](https://cloud.google.com/iam/docs/).
|
||||||
# Corresponds to the JSON property `policy`
|
# Corresponds to the JSON property `policy`
|
||||||
# @return [Google::Apis::MlV1::GoogleIamV1Policy]
|
# @return [Google::Apis::MlV1::GoogleIamV1Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/remote-build-execution/docs/
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||||
module RemotebuildexecutionV1
|
module RemotebuildexecutionV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191119'
|
REVISION = '20191203'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1616,6 +1616,62 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# ResourceUsage is the system resource usage of the host machine.
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsage
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `cpuUsedPercent`
|
||||||
|
# @return [Float]
|
||||||
|
attr_accessor :cpu_used_percent
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `diskUsage`
|
||||||
|
# @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat]
|
||||||
|
attr_accessor :disk_usage
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `memoryUsage`
|
||||||
|
# @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat]
|
||||||
|
attr_accessor :memory_usage
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@cpu_used_percent = args[:cpu_used_percent] if args.key?(:cpu_used_percent)
|
||||||
|
@disk_usage = args[:disk_usage] if args.key?(:disk_usage)
|
||||||
|
@memory_usage = args[:memory_usage] if args.key?(:memory_usage)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsageStat
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `total`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :total
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `used`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :used
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@total = args[:total] if args.key?(:total)
|
||||||
|
@used = args[:used] if args.key?(:used)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# AcceleratorConfig defines the accelerator cards to attach to the VM.
|
# AcceleratorConfig defines the accelerator cards to attach to the VM.
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -172,6 +172,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsage
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsageStat
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -651,6 +663,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsage
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :cpu_used_percent, as: 'cpuUsedPercent'
|
||||||
|
property :disk_usage, as: 'diskUsage', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
|
||||||
|
|
||||||
|
property :memory_usage, as: 'memoryUsage', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsageStat
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :total, :numeric_string => true, as: 'total'
|
||||||
|
property :used, :numeric_string => true, as: 'used'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/remote-build-execution/docs/
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||||
module RemotebuildexecutionV1alpha
|
module RemotebuildexecutionV1alpha
|
||||||
VERSION = 'V1alpha'
|
VERSION = 'V1alpha'
|
||||||
REVISION = '20191119'
|
REVISION = '20191203'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1597,6 +1597,62 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# ResourceUsage is the system resource usage of the host machine.
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsage
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `cpuUsedPercent`
|
||||||
|
# @return [Float]
|
||||||
|
attr_accessor :cpu_used_percent
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `diskUsage`
|
||||||
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat]
|
||||||
|
attr_accessor :disk_usage
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `memoryUsage`
|
||||||
|
# @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat]
|
||||||
|
attr_accessor :memory_usage
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@cpu_used_percent = args[:cpu_used_percent] if args.key?(:cpu_used_percent)
|
||||||
|
@disk_usage = args[:disk_usage] if args.key?(:disk_usage)
|
||||||
|
@memory_usage = args[:memory_usage] if args.key?(:memory_usage)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsageStat
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `total`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :total
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `used`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :used
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@total = args[:total] if args.key?(:total)
|
||||||
|
@used = args[:used] if args.key?(:used)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# AcceleratorConfig defines the accelerator cards to attach to the VM.
|
# AcceleratorConfig defines the accelerator cards to attach to the VM.
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -166,6 +166,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsage
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsageStat
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -620,6 +632,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsage
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :cpu_used_percent, as: 'cpuUsedPercent'
|
||||||
|
property :disk_usage, as: 'diskUsage', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
|
||||||
|
|
||||||
|
property :memory_usage, as: 'memoryUsage', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsageStat
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :total, :numeric_string => true, as: 'total'
|
||||||
|
property :used, :numeric_string => true, as: 'used'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/remote-build-execution/docs/
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||||
module RemotebuildexecutionV2
|
module RemotebuildexecutionV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20191119'
|
REVISION = '20191203'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -2294,6 +2294,62 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# ResourceUsage is the system resource usage of the host machine.
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsage
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `cpuUsedPercent`
|
||||||
|
# @return [Float]
|
||||||
|
attr_accessor :cpu_used_percent
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `diskUsage`
|
||||||
|
# @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat]
|
||||||
|
attr_accessor :disk_usage
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `memoryUsage`
|
||||||
|
# @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat]
|
||||||
|
attr_accessor :memory_usage
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@cpu_used_percent = args[:cpu_used_percent] if args.key?(:cpu_used_percent)
|
||||||
|
@disk_usage = args[:disk_usage] if args.key?(:disk_usage)
|
||||||
|
@memory_usage = args[:memory_usage] if args.key?(:memory_usage)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsageStat
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `total`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :total
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `used`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :used
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@total = args[:total] if args.key?(:total)
|
||||||
|
@used = args[:used] if args.key?(:used)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# AcceleratorConfig defines the accelerator cards to attach to the VM.
|
# AcceleratorConfig defines the accelerator cards to attach to the VM.
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -292,6 +292,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsage
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsageStat
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -938,6 +950,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsage
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :cpu_used_percent, as: 'cpuUsedPercent'
|
||||||
|
property :disk_usage, as: 'diskUsage', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
|
||||||
|
|
||||||
|
property :memory_usage, as: 'memoryUsage', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildbotResourceUsageStat
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :total, :numeric_string => true, as: 'total'
|
||||||
|
property :used, :numeric_string => true, as: 'used'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -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 = '20191112'
|
REVISION = '20191202'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -46,6 +46,23 @@ module Google
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||||
# * `group:`emailid``: An email address that represents a Google group.
|
# * `group:`emailid``: An email address that represents a Google group.
|
||||||
# For example, `admins@example.com`.
|
# For example, `admins@example.com`.
|
||||||
|
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
|
# identifier) representing a user that has been recently deleted. For
|
||||||
|
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
||||||
|
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
||||||
|
# retains the role in the binding.
|
||||||
|
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
||||||
|
# unique identifier) representing a service account that has been recently
|
||||||
|
# deleted. For example,
|
||||||
|
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||||
|
# If the service account is undeleted, this value reverts to
|
||||||
|
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
||||||
|
# role in the binding.
|
||||||
|
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
|
# identifier) representing a Google group that has been recently
|
||||||
|
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
||||||
|
# the group is recovered, this value reverts to `group:`emailid`` and the
|
||||||
|
# recovered group retains the role in the binding.
|
||||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||||
# users of that domain. For example, `google.com` or `example.com`.
|
# users of that domain. For example, `google.com` or `example.com`.
|
||||||
# Corresponds to the JSON property `members`
|
# Corresponds to the JSON property `members`
|
||||||
|
@ -358,16 +375,18 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# specify access control policies for Cloud Platform resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# 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,
|
# `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
|
# 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
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||||
# optionally specify a `condition`, which is a logic expression that further
|
# custom role.
|
||||||
# constrains the role binding based on attributes about the request and/or
|
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||||
# target resource.
|
# expression that allows access to a resource only if the expression evaluates
|
||||||
# **JSON Example**
|
# to `true`. A condition can add constraints based on attributes of the
|
||||||
|
# request, the resource, or both.
|
||||||
|
# **JSON example:**
|
||||||
# `
|
# `
|
||||||
# "bindings": [
|
# "bindings": [
|
||||||
# `
|
# `
|
||||||
|
@ -385,13 +404,15 @@ module Google
|
||||||
# "condition": `
|
# "condition": `
|
||||||
# "title": "expirable access",
|
# "title": "expirable access",
|
||||||
# "description": "Does not grant access after Sep 2020",
|
# "description": "Does not grant access after Sep 2020",
|
||||||
# "expression": "request.time <
|
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
# ",
|
||||||
# `
|
# `
|
||||||
# `
|
# `
|
||||||
# ]
|
# ],
|
||||||
|
# "etag": "BwWWja0YfJA=",
|
||||||
|
# "version": 3
|
||||||
# `
|
# `
|
||||||
# **YAML Example**
|
# **YAML example:**
|
||||||
# bindings:
|
# bindings:
|
||||||
# - members:
|
# - members:
|
||||||
# - user:mike@example.com
|
# - user:mike@example.com
|
||||||
|
@ -406,14 +427,16 @@ module Google
|
||||||
# title: expirable access
|
# title: expirable access
|
||||||
# description: Does not grant access after Sep 2020
|
# description: Does not grant access after Sep 2020
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
|
# - etag: BwWWja0YfJA=
|
||||||
|
# - version: 3
|
||||||
# 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 documentation](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`. Optionally may specify a
|
# Associates a list of `members` to a `role`. Optionally, may specify a
|
||||||
# `condition` that determines when binding is in effect.
|
# `condition` that determines how and when the `bindings` are applied. Each
|
||||||
# `bindings` with no members will result in an error.
|
# of the `bindings` must contain at least one member.
|
||||||
# Corresponds to the JSON property `bindings`
|
# Corresponds to the JSON property `bindings`
|
||||||
# @return [Array<Google::Apis::RuntimeconfigV1beta1::Binding>]
|
# @return [Array<Google::Apis::RuntimeconfigV1beta1::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -425,26 +448,31 @@ module Google
|
||||||
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
||||||
# 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
|
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||||
# 'setIamPolicy' will not fail even if the incoming policy version does not
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
# meet the requirements for modifying the stored policy.
|
# the conditions in the version `3` policy are lost.
|
||||||
# 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]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
|
||||||
# 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 that specify an invalid value
|
||||||
# rejected.
|
# are rejected.
|
||||||
# Operations affecting conditional bindings must specify version 3. This can
|
# Any operation that affects conditional role bindings must specify version
|
||||||
# be either setting a conditional policy, modifying a conditional binding,
|
# `3`. This requirement applies to the following operations:
|
||||||
# or removing a binding (conditional or unconditional) from the stored
|
# * Getting a policy that includes a conditional role binding
|
||||||
# conditional policy.
|
# * Adding a conditional role binding to a policy
|
||||||
# Operations on non-conditional policies may specify any valid value or
|
# * Changing a conditional role binding in a policy
|
||||||
# leave the field unset.
|
# * Removing any role binding, with or without a condition, from a policy
|
||||||
# If no etag is provided in the call to `setIamPolicy`, version compliance
|
# that includes conditions
|
||||||
# checks against the stored policy is skipped.
|
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||||
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
|
# the conditions in the version `3` policy are lost.
|
||||||
|
# If a policy does not include any conditions, operations on that policy may
|
||||||
|
# specify any valid version or leave the field unset.
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -500,16 +528,18 @@ module Google
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# specify access control policies for Cloud Platform resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# 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,
|
# `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
|
# 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
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||||
# optionally specify a `condition`, which is a logic expression that further
|
# custom role.
|
||||||
# constrains the role binding based on attributes about the request and/or
|
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||||
# target resource.
|
# expression that allows access to a resource only if the expression evaluates
|
||||||
# **JSON Example**
|
# to `true`. A condition can add constraints based on attributes of the
|
||||||
|
# request, the resource, or both.
|
||||||
|
# **JSON example:**
|
||||||
# `
|
# `
|
||||||
# "bindings": [
|
# "bindings": [
|
||||||
# `
|
# `
|
||||||
|
@ -527,13 +557,15 @@ module Google
|
||||||
# "condition": `
|
# "condition": `
|
||||||
# "title": "expirable access",
|
# "title": "expirable access",
|
||||||
# "description": "Does not grant access after Sep 2020",
|
# "description": "Does not grant access after Sep 2020",
|
||||||
# "expression": "request.time <
|
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
# ",
|
||||||
# `
|
# `
|
||||||
# `
|
# `
|
||||||
# ]
|
# ],
|
||||||
|
# "etag": "BwWWja0YfJA=",
|
||||||
|
# "version": 3
|
||||||
# `
|
# `
|
||||||
# **YAML Example**
|
# **YAML example:**
|
||||||
# bindings:
|
# bindings:
|
||||||
# - members:
|
# - members:
|
||||||
# - user:mike@example.com
|
# - user:mike@example.com
|
||||||
|
@ -548,8 +580,10 @@ module Google
|
||||||
# title: expirable access
|
# title: expirable access
|
||||||
# description: Does not grant access after Sep 2020
|
# description: Does not grant access after Sep 2020
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
|
# - etag: BwWWja0YfJA=
|
||||||
|
# - version: 3
|
||||||
# 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 documentation](https://cloud.google.com/iam/docs/).
|
||||||
# Corresponds to the JSON property `policy`
|
# Corresponds to the JSON property `policy`
|
||||||
# @return [Google::Apis::RuntimeconfigV1beta1::Policy]
|
# @return [Google::Apis::RuntimeconfigV1beta1::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
Loading…
Reference in New Issue