Autogenerated update (2018-04-29)

Update:
- pubsub_v1beta2
This commit is contained in:
Google APIs 2018-04-29 00:36:03 +00:00
parent 6762be3c20
commit 3e5a08300d
2 changed files with 29 additions and 7 deletions

View File

@ -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 = '20180402' REVISION = '20180416'
# 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

@ -238,11 +238,11 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions # Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM. # defined by IAM.
# **Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -251,7 +251,7 @@ module Google
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com", # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
@ -260,6 +260,17 @@ module Google
# ` # `
# ] # ]
# ` # `
# **YAML Example**
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - members:
# - user:sean@example.com
# role: roles/viewer
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
class Policy class Policy
@ -514,11 +525,11 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions # Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM. # defined by IAM.
# **Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -527,7 +538,7 @@ module Google
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com", # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
@ -536,6 +547,17 @@ module Google
# ` # `
# ] # ]
# ` # `
# **YAML Example**
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - members:
# - user:sean@example.com
# role: roles/viewer
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`