Autogenerated update (2019-12-14)
Update: - bigtableadmin_v2 - cloudfunctions_v1 - iamcredentials_v1 - monitoring_v1 - monitoring_v3 - pubsub_v1 - pubsub_v1beta2 - run_v1 - run_v1alpha1 - servicecontrol_v1
This commit is contained in:
parent
3efc10fb88
commit
b0fa676669
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/bigtable/
|
# @see https://cloud.google.com/bigtable/
|
||||||
module BigtableadminV2
|
module BigtableadminV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20191102'
|
REVISION = '20191202'
|
||||||
|
|
||||||
# Administer your Cloud Bigtable tables and clusters
|
# Administer your Cloud Bigtable tables and clusters
|
||||||
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
|
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
|
||||||
|
|
|
@ -221,6 +221,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`
|
||||||
|
@ -1280,16 +1297,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -1307,13 +1326,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
|
||||||
|
@ -1328,8 +1349,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 Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1338,9 +1361,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::BigtableadminV2::AuditConfig>]
|
# @return [Array<Google::Apis::BigtableadminV2::AuditConfig>]
|
||||||
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::BigtableadminV2::Binding>]
|
# @return [Array<Google::Apis::BigtableadminV2::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -1352,25 +1375,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 either of incoming or stored policy
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
# does not meet the version requirements.
|
# 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 conditional binding from the stored conditional policy.
|
# * Getting a policy that includes a conditional role binding
|
||||||
# Operations on non-conditional policies may specify any valid value or
|
# * Adding a conditional role binding to a policy
|
||||||
# leave the field unset.
|
# * Changing a conditional role binding in a policy
|
||||||
# If no etag is provided in the call to `setIamPolicy`, any version
|
# * Removing any role binding, with or without a condition, from a policy
|
||||||
# compliance checks on the incoming and/or stored policy is skipped.
|
# that includes conditions
|
||||||
|
# **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
|
||||||
|
@ -1392,16 +1421,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -1419,13 +1450,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
|
||||||
|
@ -1440,8 +1473,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::BigtableadminV2::Policy]
|
# @return [Google::Apis::BigtableadminV2::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
|
@ -1094,7 +1094,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the access control policy for an instance resource. Returns an empty
|
# Gets the access control policy for a table resource. Returns an empty
|
||||||
# policy if an table exists but does not have a policy set.
|
# policy if an table exists but does not have a policy set.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which the policy is being requested.
|
# REQUIRED: The resource for which the policy is being requested.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/functions
|
# @see https://cloud.google.com/functions
|
||||||
module CloudfunctionsV1
|
module CloudfunctionsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191112'
|
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'
|
||||||
|
|
|
@ -162,6 +162,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`
|
||||||
|
@ -928,16 +945,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -955,13 +974,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
|
||||||
|
@ -976,8 +997,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 Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -986,9 +1009,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::CloudfunctionsV1::AuditConfig>]
|
# @return [Array<Google::Apis::CloudfunctionsV1::AuditConfig>]
|
||||||
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::CloudfunctionsV1::Binding>]
|
# @return [Array<Google::Apis::CloudfunctionsV1::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -1000,26 +1023,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
|
||||||
|
@ -1058,16 +1086,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -1085,13 +1115,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
|
||||||
|
@ -1106,8 +1138,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::CloudfunctionsV1::Policy]
|
# @return [Google::Apis::CloudfunctionsV1::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
|
# @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
|
||||||
module IamcredentialsV1
|
module IamcredentialsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190704'
|
REVISION = '20191206'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -47,7 +47,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :lifetime
|
attr_accessor :lifetime
|
||||||
|
|
||||||
# Code to identify the scopes to be included in the OAuth 2.0 access token.
|
# Required. Code to identify the scopes to be included in the OAuth 2.0 access
|
||||||
|
# token.
|
||||||
# See https://developers.google.com/identity/protocols/googlescopes for more
|
# See https://developers.google.com/identity/protocols/googlescopes for more
|
||||||
# information.
|
# information.
|
||||||
# At least one value required.
|
# At least one value required.
|
||||||
|
@ -97,7 +98,8 @@ module Google
|
||||||
class GenerateIdTokenRequest
|
class GenerateIdTokenRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The audience for the token, such as the API or account that this token
|
# Required. The audience for the token, such as the API or account that this
|
||||||
|
# token
|
||||||
# grants access to.
|
# grants access to.
|
||||||
# Corresponds to the JSON property `audience`
|
# Corresponds to the JSON property `audience`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -171,7 +173,7 @@ module Google
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :delegates
|
attr_accessor :delegates
|
||||||
|
|
||||||
# The bytes to sign.
|
# Required. The bytes to sign.
|
||||||
# Corresponds to the JSON property `payload`
|
# Corresponds to the JSON property `payload`
|
||||||
# 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]
|
||||||
|
@ -231,7 +233,8 @@ module Google
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :delegates
|
attr_accessor :delegates
|
||||||
|
|
||||||
# The JWT payload to sign: a JSON object that contains a JWT Claims Set.
|
# Required. The JWT payload to sign: a JSON object that contains a JWT Claims
|
||||||
|
# Set.
|
||||||
# Corresponds to the JSON property `payload`
|
# Corresponds to the JSON property `payload`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :payload
|
attr_accessor :payload
|
||||||
|
|
|
@ -49,7 +49,7 @@ module Google
|
||||||
|
|
||||||
# Generates an OAuth 2.0 access token for a service account.
|
# Generates an OAuth 2.0 access token for a service account.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the service account for which the credentials
|
# Required. The resource name of the service account for which the credentials
|
||||||
# are requested, in the following format:
|
# are requested, in the following format:
|
||||||
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
||||||
# character is required; replacing it with a project ID is invalid.
|
# character is required; replacing it with a project ID is invalid.
|
||||||
|
@ -85,7 +85,7 @@ module Google
|
||||||
|
|
||||||
# Generates an OpenID Connect ID token for a service account.
|
# Generates an OpenID Connect ID token for a service account.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the service account for which the credentials
|
# Required. The resource name of the service account for which the credentials
|
||||||
# are requested, in the following format:
|
# are requested, in the following format:
|
||||||
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
||||||
# character is required; replacing it with a project ID is invalid.
|
# character is required; replacing it with a project ID is invalid.
|
||||||
|
@ -121,7 +121,7 @@ module Google
|
||||||
|
|
||||||
# Signs a blob using a service account's system-managed private key.
|
# Signs a blob using a service account's system-managed private key.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the service account for which the credentials
|
# Required. The resource name of the service account for which the credentials
|
||||||
# are requested, in the following format:
|
# are requested, in the following format:
|
||||||
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
||||||
# character is required; replacing it with a project ID is invalid.
|
# character is required; replacing it with a project ID is invalid.
|
||||||
|
@ -157,7 +157,7 @@ module Google
|
||||||
|
|
||||||
# Signs a JWT using a service account's system-managed private key.
|
# Signs a JWT using a service account's system-managed private key.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The resource name of the service account for which the credentials
|
# Required. The resource name of the service account for which the credentials
|
||||||
# are requested, in the following format:
|
# are requested, in the following format:
|
||||||
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
||||||
# character is required; replacing it with a project ID is invalid.
|
# character is required; replacing it with a project ID is invalid.
|
||||||
|
|
|
@ -30,7 +30,7 @@ module Google
|
||||||
# @see https://cloud.google.com/monitoring/api/
|
# @see https://cloud.google.com/monitoring/api/
|
||||||
module MonitoringV1
|
module MonitoringV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191202'
|
REVISION = '20191207'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -139,8 +139,9 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The relative weight of this column. The column weight is used to adjust the
|
# The relative weight of this column. The column weight is used to adjust the
|
||||||
# height of rows on the screen (relative to peers). If omitted, a value of 1 is
|
# width of columns on the screen (relative to peers). Greater the weight,
|
||||||
# used.
|
# greater the width of the column on the screen. If omitted, a value of 1 is
|
||||||
|
# used while rendering.
|
||||||
# Corresponds to the JSON property `weight`
|
# Corresponds to the JSON property `weight`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :weight
|
attr_accessor :weight
|
||||||
|
@ -250,10 +251,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :legend_template
|
attr_accessor :legend_template
|
||||||
|
|
||||||
# Optional. The lower bound on data point frequency for this data set
|
# Optional. The lower bound on data point frequency for this data set,
|
||||||
# implemented by specifying the minimum alignment period to use in a time series
|
# implemented by specifying the minimum alignment period to use in a time series
|
||||||
# query. For example, if the data is published once every 10 minutes it would
|
# query For example, if the data is published once every 10 minutes, the
|
||||||
# not make sense to fetch and align data at one minute intervals.
|
# min_alignment_period should be at least 10 minutes. It would not make sense to
|
||||||
|
# fetch and align data at one minute intervals.
|
||||||
# Corresponds to the JSON property `minAlignmentPeriod`
|
# Corresponds to the JSON property `minAlignmentPeriod`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :min_alignment_period
|
attr_accessor :min_alignment_period
|
||||||
|
@ -441,7 +443,7 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The number of columns into which the view's width is divided. If omitted or
|
# The number of columns into which the view's width is divided. If omitted or
|
||||||
# set to zero, a system default will be used.
|
# set to zero, a system default will be used while rendering.
|
||||||
# Corresponds to the JSON property `columns`
|
# Corresponds to the JSON property `columns`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :columns
|
attr_accessor :columns
|
||||||
|
@ -591,7 +593,9 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The relative weight of this row. The row weight is used to adjust the height
|
# The relative weight of this row. The row weight is used to adjust the height
|
||||||
# of rows on the screen (relative to peers). If omitted, a value of 1 is used.
|
# of rows on the screen (relative to peers). Greater the weight, greater the
|
||||||
|
# height of the row on the screen. If omitted, a value of 1 is used while
|
||||||
|
# rendering.
|
||||||
# Corresponds to the JSON property `weight`
|
# Corresponds to the JSON property `weight`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :weight
|
attr_accessor :weight
|
||||||
|
@ -1116,10 +1120,10 @@ module Google
|
||||||
# @return [Array<Google::Apis::MonitoringV1::Threshold>]
|
# @return [Array<Google::Apis::MonitoringV1::Threshold>]
|
||||||
attr_accessor :thresholds
|
attr_accessor :thresholds
|
||||||
|
|
||||||
# The duration used to display a comparison chart. A comparison chart shows
|
# The duration used to display a comparison chart. A comparison chart
|
||||||
# values from two time periods simultaneously (e.g., week-over-week metrics).
|
# simultaneously shows values from two similar-length time periods (e.g., week-
|
||||||
# The duration must be positive, and it can only be applied to charts with data
|
# over-week metrics). The duration must be positive, and it can only be applied
|
||||||
# sets of LINE plot type.
|
# to charts with data sets of LINE plot type.
|
||||||
# Corresponds to the JSON property `timeshiftDuration`
|
# Corresponds to the JSON property `timeshiftDuration`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :timeshift_duration
|
attr_accessor :timeshift_duration
|
||||||
|
|
|
@ -30,7 +30,7 @@ module Google
|
||||||
# @see https://cloud.google.com/monitoring/api/
|
# @see https://cloud.google.com/monitoring/api/
|
||||||
module MonitoringV3
|
module MonitoringV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20191202'
|
REVISION = '20191207'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -97,14 +97,17 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# How to combine the results of multiple conditions to determine if an incident
|
# How to combine the results of multiple conditions to determine if an incident
|
||||||
# should be opened.
|
# should be opened. If condition_time_series_query_language is present, this
|
||||||
|
# must be COMBINE_UNSPECIFIED.
|
||||||
# Corresponds to the JSON property `combiner`
|
# Corresponds to the JSON property `combiner`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :combiner
|
attr_accessor :combiner
|
||||||
|
|
||||||
# A list of conditions for the policy. The conditions are combined by AND or OR
|
# A list of conditions for the policy. The conditions are combined by AND or OR
|
||||||
# according to the combiner field. If the combined conditions evaluate to true,
|
# according to the combiner field. If the combined conditions evaluate to true,
|
||||||
# then an incident is created. A policy can have from one to six conditions.
|
# then an incident is created. A policy can have from one to six conditions. If |
|
||||||
|
# condition_time_series_uery_language| is present, it must be the only |
|
||||||
|
# condition|.
|
||||||
# Corresponds to the JSON property `conditions`
|
# Corresponds to the JSON property `conditions`
|
||||||
# @return [Array<Google::Apis::MonitoringV3::Condition>]
|
# @return [Array<Google::Apis::MonitoringV3::Condition>]
|
||||||
attr_accessor :conditions
|
attr_accessor :conditions
|
||||||
|
@ -2649,12 +2652,6 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# The tiers that support this notification channel; the project service tier
|
|
||||||
# must be one of the supported_tiers.
|
|
||||||
# Corresponds to the JSON property `supportedTiers`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :supported_tiers
|
|
||||||
|
|
||||||
# The type of notification channel, such as "email", "sms", etc. Notification
|
# The type of notification channel, such as "email", "sms", etc. Notification
|
||||||
# channel types are globally unique.
|
# channel types are globally unique.
|
||||||
# Corresponds to the JSON property `type`
|
# Corresponds to the JSON property `type`
|
||||||
|
@ -2671,7 +2668,6 @@ module Google
|
||||||
@display_name = args[:display_name] if args.key?(:display_name)
|
@display_name = args[:display_name] if args.key?(:display_name)
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@supported_tiers = args[:supported_tiers] if args.key?(:supported_tiers)
|
|
||||||
@type = args[:type] if args.key?(:type)
|
@type = args[:type] if args.key?(:type)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -3017,7 +3013,7 @@ module Google
|
||||||
attr_accessor :display_name
|
attr_accessor :display_name
|
||||||
|
|
||||||
# The fraction of service that must be good in order for this objective to be
|
# The fraction of service that must be good in order for this objective to be
|
||||||
# met. 0 < goal <= 1.
|
# met. 0 < goal <= 0.999.
|
||||||
# Corresponds to the JSON property `goal`
|
# Corresponds to the JSON property `goal`
|
||||||
# @return [Float]
|
# @return [Float]
|
||||||
attr_accessor :goal
|
attr_accessor :goal
|
||||||
|
|
|
@ -1183,7 +1183,6 @@ module Google
|
||||||
collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
|
collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
|
||||||
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
collection :supported_tiers, as: 'supportedTiers'
|
|
||||||
property :type, as: 'type'
|
property :type, as: 'type'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/pubsub/docs
|
# @see https://cloud.google.com/pubsub/docs
|
||||||
module PubsubV1
|
module PubsubV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191111'
|
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'
|
||||||
|
|
|
@ -66,6 +66,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`
|
||||||
|
@ -458,16 +475,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -485,13 +504,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
|
||||||
|
@ -506,14 +527,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::PubsubV1::Binding>]
|
# @return [Array<Google::Apis::PubsubV1::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -525,26 +548,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
|
||||||
|
@ -841,16 +869,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -868,13 +898,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
|
||||||
|
@ -889,8 +921,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::PubsubV1::Policy]
|
# @return [Google::Apis::PubsubV1::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/pubsub/docs
|
# @see https://cloud.google.com/pubsub/docs
|
||||||
module PubsubV1beta2
|
module PubsubV1beta2
|
||||||
VERSION = 'V1beta2'
|
VERSION = 'V1beta2'
|
||||||
REVISION = '20191111'
|
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'
|
||||||
|
|
|
@ -66,6 +66,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`
|
||||||
|
@ -327,16 +344,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -354,13 +373,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
|
||||||
|
@ -375,14 +396,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::PubsubV1beta2::Binding>]
|
# @return [Array<Google::Apis::PubsubV1beta2::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -394,26 +417,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
|
||||||
|
@ -648,16 +676,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -675,13 +705,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
|
||||||
|
@ -696,8 +728,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::PubsubV1beta2::Policy]
|
# @return [Google::Apis::PubsubV1beta2::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/run/
|
# @see https://cloud.google.com/run/
|
||||||
module RunV1
|
module RunV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191112'
|
REVISION = '20191204'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -209,6 +209,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`
|
||||||
|
@ -2005,16 +2022,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -2032,13 +2051,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
|
||||||
|
@ -2053,8 +2074,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 Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -2063,9 +2086,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::RunV1::AuditConfig>]
|
# @return [Array<Google::Apis::RunV1::AuditConfig>]
|
||||||
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::RunV1::Binding>]
|
# @return [Array<Google::Apis::RunV1::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -2077,26 +2100,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
|
||||||
|
@ -2951,16 +2979,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -2978,13 +3008,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
|
||||||
|
@ -2999,8 +3031,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::RunV1::Policy]
|
# @return [Google::Apis::RunV1::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/run/
|
# @see https://cloud.google.com/run/
|
||||||
module RunV1alpha1
|
module RunV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20191115'
|
REVISION = '20191204'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -215,6 +215,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`
|
||||||
|
@ -2654,16 +2671,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -2681,13 +2700,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
|
||||||
|
@ -2702,8 +2723,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 Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -2712,9 +2735,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::RunV1alpha1::AuditConfig>]
|
# @return [Array<Google::Apis::RunV1alpha1::AuditConfig>]
|
||||||
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::RunV1alpha1::Binding>]
|
# @return [Array<Google::Apis::RunV1alpha1::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -2726,26 +2749,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
|
||||||
|
@ -4255,16 +4283,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": [
|
||||||
# `
|
# `
|
||||||
|
@ -4282,13 +4312,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
|
||||||
|
@ -4303,8 +4335,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::RunV1alpha1::Policy]
|
# @return [Google::Apis::RunV1alpha1::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
@ -4715,6 +4749,12 @@ module Google
|
||||||
# @return [Array<Google::Apis::RunV1alpha1::TriggerImporterSpec>]
|
# @return [Array<Google::Apis::RunV1alpha1::TriggerImporterSpec>]
|
||||||
attr_accessor :importers
|
attr_accessor :importers
|
||||||
|
|
||||||
|
# Sink is the addressable that will receive events.
|
||||||
|
# Corresponds to the JSON property `sink`
|
||||||
|
# @return [Google::Apis::RunV1alpha1::Destination]
|
||||||
|
attr_accessor :sink
|
||||||
|
|
||||||
|
# Deprecated, sink will be represented by Destination.
|
||||||
# Subscriber is the addressable that receives events from the Broker that
|
# Subscriber is the addressable that receives events from the Broker that
|
||||||
# pass the Filter. It is required.
|
# pass the Filter. It is required.
|
||||||
# E.g. https://us-central1-myproject.cloudfunctions.net/myfunction or
|
# E.g. https://us-central1-myproject.cloudfunctions.net/myfunction or
|
||||||
|
@ -4732,6 +4772,7 @@ module Google
|
||||||
@broker = args[:broker] if args.key?(:broker)
|
@broker = args[:broker] if args.key?(:broker)
|
||||||
@filter = args[:filter] if args.key?(:filter)
|
@filter = args[:filter] if args.key?(:filter)
|
||||||
@importers = args[:importers] if args.key?(:importers)
|
@importers = args[:importers] if args.key?(:importers)
|
||||||
|
@sink = args[:sink] if args.key?(:sink)
|
||||||
@subscriber = args[:subscriber] if args.key?(:subscriber)
|
@subscriber = args[:subscriber] if args.key?(:subscriber)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1738,6 +1738,8 @@ module Google
|
||||||
|
|
||||||
collection :importers, as: 'importers', class: Google::Apis::RunV1alpha1::TriggerImporterSpec, decorator: Google::Apis::RunV1alpha1::TriggerImporterSpec::Representation
|
collection :importers, as: 'importers', class: Google::Apis::RunV1alpha1::TriggerImporterSpec, decorator: Google::Apis::RunV1alpha1::TriggerImporterSpec::Representation
|
||||||
|
|
||||||
|
property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
|
||||||
|
|
||||||
property :subscriber, as: 'subscriber', class: Google::Apis::RunV1alpha1::SubscriberSpec, decorator: Google::Apis::RunV1alpha1::SubscriberSpec::Representation
|
property :subscriber, as: 'subscriber', class: Google::Apis::RunV1alpha1::SubscriberSpec, decorator: Google::Apis::RunV1alpha1::SubscriberSpec::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-control/
|
# @see https://cloud.google.com/service-control/
|
||||||
module ServicecontrolV1
|
module ServicecontrolV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191115'
|
REVISION = '20191206'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1266,6 +1266,7 @@ module Google
|
||||||
# The labels describing the metric value.
|
# The labels describing the metric value.
|
||||||
# See comments on google.api.servicecontrol.v1.Operation.labels for
|
# See comments on google.api.servicecontrol.v1.Operation.labels for
|
||||||
# the overriding relationship.
|
# the overriding relationship.
|
||||||
|
# Note that this map must not contain monitored resource labels.
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
@ -1792,9 +1793,9 @@ module Google
|
||||||
# Putting multiple operations into a single request is allowed, but should
|
# Putting multiple operations into a single request is allowed, but should
|
||||||
# be used only when multiple operations are natually available at the time
|
# be used only when multiple operations are natually available at the time
|
||||||
# of the report.
|
# of the report.
|
||||||
# If multiple operations are in a single request, the total request size
|
# There is no limit on the number of operations in the same ReportRequest,
|
||||||
# should be no larger than 1MB. See ReportResponse.report_errors for
|
# however the ReportRequest size should be no larger than 1MB. See
|
||||||
# partial failure behavior.
|
# ReportResponse.report_errors for partial failure behavior.
|
||||||
# Corresponds to the JSON property `operations`
|
# Corresponds to the JSON property `operations`
|
||||||
# @return [Array<Google::Apis::ServicecontrolV1::Operation>]
|
# @return [Array<Google::Apis::ServicecontrolV1::Operation>]
|
||||||
attr_accessor :operations
|
attr_accessor :operations
|
||||||
|
|
|
@ -148,7 +148,8 @@ module Google
|
||||||
# reduce data loss during client crashes. Clients should carefully choose
|
# reduce data loss during client crashes. Clients should carefully choose
|
||||||
# the aggregation time window to avoid data loss risk more than 0.01%
|
# the aggregation time window to avoid data loss risk more than 0.01%
|
||||||
# for business and compliance reasons.
|
# for business and compliance reasons.
|
||||||
# NOTE: the ReportRequest has the size limit of 1MB.
|
# NOTE: the ReportRequest has the size limit (wire-format byte size) of
|
||||||
|
# 1MB.
|
||||||
# This method requires the `servicemanagement.services.report` permission
|
# This method requires the `servicemanagement.services.report` permission
|
||||||
# on the specified service. For more information, see
|
# on the specified service. For more information, see
|
||||||
# [Google Cloud IAM](https://cloud.google.com/iam).
|
# [Google Cloud IAM](https://cloud.google.com/iam).
|
||||||
|
|
Loading…
Reference in New Issue