Autogenerated update (2019-12-04)

Update:
- cloudasset_v1
- cloudasset_v1beta1
- cloudprivatecatalogproducer_v1beta1
- healthcare_v1beta1
- streetviewpublish_v1
This commit is contained in:
Google APIs 2019-12-04 00:37:13 +00:00
parent cd819bfcda
commit 16ddff0937
10 changed files with 251 additions and 152 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
module CloudassetV1 module CloudassetV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191116' REVISION = '20191130'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -56,16 +56,18 @@ module Google
# @return [String] # @return [String]
attr_accessor :asset_type attr_accessor :asset_type
# 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": [
# ` # `
@ -83,13 +85,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
@ -104,8 +108,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 `iamPolicy` # Corresponds to the JSON property `iamPolicy`
# @return [Google::Apis::CloudassetV1::Policy] # @return [Google::Apis::CloudassetV1::Policy]
attr_accessor :iam_policy attr_accessor :iam_policy
@ -362,6 +368,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`
@ -1367,16 +1390,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": [
# ` # `
@ -1394,13 +1419,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
@ -1415,8 +1442,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
@ -1425,9 +1454,9 @@ module Google
# @return [Array<Google::Apis::CloudassetV1::AuditConfig>] # @return [Array<Google::Apis::CloudassetV1::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::CloudassetV1::Binding>] # @return [Array<Google::Apis::CloudassetV1::Binding>]
attr_accessor :bindings attr_accessor :bindings
@ -1439,26 +1468,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

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
module CloudassetV1beta1 module CloudassetV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20191116' REVISION = '20191130'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -32,16 +32,18 @@ module Google
# @return [String] # @return [String]
attr_accessor :asset_type attr_accessor :asset_type
# 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": [
# ` # `
@ -59,13 +61,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
@ -80,8 +84,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 `iamPolicy` # Corresponds to the JSON property `iamPolicy`
# @return [Google::Apis::CloudassetV1beta1::Policy] # @return [Google::Apis::CloudassetV1beta1::Policy]
attr_accessor :iam_policy attr_accessor :iam_policy
@ -273,6 +279,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`
@ -510,16 +533,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": [
# ` # `
@ -537,13 +562,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
@ -558,8 +585,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
@ -568,9 +597,9 @@ module Google
# @return [Array<Google::Apis::CloudassetV1beta1::AuditConfig>] # @return [Array<Google::Apis::CloudassetV1beta1::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::CloudassetV1beta1::Binding>] # @return [Array<Google::Apis::CloudassetV1beta1::Binding>]
attr_accessor :bindings attr_accessor :bindings
@ -582,26 +611,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

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/private-catalog/ # @see https://cloud.google.com/private-catalog/
module CloudprivatecatalogproducerV1beta1 module CloudprivatecatalogproducerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20191118' REVISION = '20191202'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -721,6 +721,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`
@ -745,16 +762,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": [
# ` # `
@ -772,13 +791,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
@ -793,8 +814,10 @@ module Google
# title: expirable access # title: expirable access
# description: Does not grant access after Sep 2020 # description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM documentation](https://cloud.google.com/iam/docs/).
class GoogleIamV1Policy class GoogleIamV1Policy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -803,9 +826,9 @@ module Google
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditConfig>] # @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditConfig>]
attr_accessor :audit_configs attr_accessor :audit_configs
# Associates a list of `members` to a `role`. Optionally may specify a # Associates a list of `members` to a `role`. Optionally, may specify a
# `condition` that determines when binding is in effect. # `condition` that determines how and when the `bindings` are applied. Each
# `bindings` with no members will result in an error. # of the `bindings` must contain at least one member.
# Corresponds to the JSON property `bindings` # Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Binding>] # @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Binding>]
attr_accessor :bindings attr_accessor :bindings
@ -817,26 +840,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
@ -858,16 +886,18 @@ module Google
class GoogleIamV1SetIamPolicyRequest class GoogleIamV1SetIamPolicyRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Defines an Identity and Access Management (IAM) policy. It is used to # An Identity and Access Management (IAM) policy, which specifies access
# specify access control policies for Cloud Platform resources. # controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more # A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts, # `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of # Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions (defined by IAM or configured by users). A `binding` can # permissions; each `role` can be an IAM predefined role or a user-created
# optionally specify a `condition`, which is a logic expression that further # custom role.
# constrains the role binding based on attributes about the request and/or # Optionally, a `binding` can specify a `condition`, which is a logical
# target resource. # expression that allows access to a resource only if the expression evaluates
# **JSON Example** # to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -885,13 +915,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
@ -906,8 +938,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::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy] # @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy]
attr_accessor :policy attr_accessor :policy

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/healthcare # @see https://cloud.google.com/healthcare
module HealthcareV1beta1 module HealthcareV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20191114' REVISION = '20191121'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2198,16 +2198,16 @@ module Google
# Name of the `Patient` resource for which the information is required. # Name of the `Patient` resource for which the information is required.
# @param [Fixnum] _count # @param [Fixnum] _count
# Maximum number of resources in a page. Defaults to 100. # Maximum number of resources in a page. Defaults to 100.
# @param [String] end_ # @param [String] _page_token
# The response includes records prior to the end date. If no end date is
# provided, all records subsequent to the start date are in scope.
# @param [String] page_token
# Used to retrieve the next or previous page of results # Used to retrieve the next or previous page of results
# when using pagination. Value should be set to the value of page_token set # when using pagination. Value should be set to the value of page_token set
# in next or previous page links' urls. Next and previous page are returned # in next or previous page links' urls. Next and previous page are returned
# in the response bundle's links field, where `link.relation` is "previous" # in the response bundle's links field, where `link.relation` is "previous"
# or "next". # or "next".
# Omit `page_token` if no previous request has been made. # Omit `page_token` if no previous request has been made.
# @param [String] end_
# The response includes records prior to the end date. If no end date is
# provided, all records subsequent to the start date are in scope.
# @param [String] start # @param [String] start
# The response includes records subsequent to the start date. If no start # The response includes records subsequent to the start date. If no start
# date is provided, all records prior to the end date are in scope. # date is provided, all records prior to the end date are in scope.
@ -2228,14 +2228,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, end_: nil, page_token: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block) def patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, end_: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}/$everything', options) command = make_simple_command(:get, 'v1beta1/{+name}/$everything', options)
command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
command.params['name'] = name unless name.nil? command.params['name'] = name unless name.nil?
command.query['_count'] = _count unless _count.nil? command.query['_count'] = _count unless _count.nil?
command.query['_page_token'] = _page_token unless _page_token.nil?
command.query['end'] = end_ unless end_.nil? command.query['end'] = end_ unless end_.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['start'] = start unless start.nil? command.query['start'] = start unless start.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -2636,14 +2636,7 @@ module Google
# GCP error might be returned instead. # GCP error might be returned instead.
# @param [String] name # @param [String] name
# The name of the resource to retrieve. # The name of the resource to retrieve.
# @param [String] _page_token # @param [String] _at
# Used to retrieve the first, previous, next, or last page of resource
# versions when using pagination. Value should be set to the value of
# `_page_token` set in next or previous page links' URLs. Next and previous
# page are returned in the response bundle's links field, where
# `link.relation` is "previous" or "next".
# Omit `_page_token` if no previous request has been made.
# @param [String] at
# Only include resource versions that were current at some point during the # Only include resource versions that were current at some point during the
# time period specified in the date time value. The date parameter format is # time period specified in the date time value. The date parameter format is
# yyyy-mm-ddThh:mm:ss[Z|(+|-)hh:mm] # yyyy-mm-ddThh:mm:ss[Z|(+|-)hh:mm]
@ -2652,11 +2645,16 @@ module Google
# * An entire month: `_at=2019-01` # * An entire month: `_at=2019-01`
# * A specific day: `_at=2019-01-20` # * A specific day: `_at=2019-01-20`
# * A specific second: `_at=2018-12-31T23:59:58Z` # * A specific second: `_at=2018-12-31T23:59:58Z`
# @param [Fixnum] count # @param [Fixnum] _count
# The maximum number of search results on a page. Defaults to 1000. # The maximum number of search results on a page. Defaults to 1000.
# @param [String] page # @param [String] _page_token
# DEPRECATED! Use `_page_token`. # Used to retrieve the first, previous, next, or last page of resource
# @param [String] since # versions when using pagination. Value should be set to the value of
# `_page_token` set in next or previous page links' URLs. Next and previous
# page are returned in the response bundle's links field, where
# `link.relation` is "previous" or "next".
# Omit `_page_token` if no previous request has been made.
# @param [String] _since
# Only include resource versions that were created at or after the given # Only include resource versions that were created at or after the given
# instant in time. The instant in time uses the format # instant in time. The instant in time uses the format
# YYYY-MM-DDThh:mm:ss.sss+zz:zz (for example 2015-02-07T13:28:17.239+02:00 or # YYYY-MM-DDThh:mm:ss.sss+zz:zz (for example 2015-02-07T13:28:17.239+02:00 or
@ -2679,16 +2677,15 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def history_project_location_dataset_fhir_store_fhir(name, _page_token: nil, at: nil, count: nil, page: nil, since: nil, fields: nil, quota_user: nil, options: nil, &block) def history_project_location_dataset_fhir_store_fhir(name, _at: nil, _count: nil, _page_token: nil, _since: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}/_history', options) command = make_simple_command(:get, 'v1beta1/{+name}/_history', options)
command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
command.params['name'] = name unless name.nil? command.params['name'] = name unless name.nil?
command.query['_at'] = _at unless _at.nil?
command.query['_count'] = _count unless _count.nil?
command.query['_page_token'] = _page_token unless _page_token.nil? command.query['_page_token'] = _page_token unless _page_token.nil?
command.query['at'] = at unless at.nil? command.query['_since'] = _since unless _since.nil?
command.query['count'] = count unless count.nil?
command.query['page'] = page unless page.nil?
command.query['since'] = since unless since.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/streetview/publish/ # @see https://developers.google.com/streetview/publish/
module StreetviewpublishV1 module StreetviewpublishV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190917' REVISION = '20191202'
# Publish and manage your 360 photos on Google Street View # Publish and manage your 360 photos on Google Street View
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish' AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'

View File

@ -344,7 +344,7 @@ module Google
attr_accessor :download_url attr_accessor :download_url
# Output only. Status in Google Maps, whether this photo was published or # Output only. Status in Google Maps, whether this photo was published or
# rejected. # rejected. Not currently populated.
# Corresponds to the JSON property `mapsPublishStatus` # Corresponds to the JSON property `mapsPublishStatus`
# @return [String] # @return [String]
attr_accessor :maps_publish_status attr_accessor :maps_publish_status