Autogenerated update (2019-10-27)

Update:
- bigtableadmin_v2
- cloudresourcemanager_v1
- cloudresourcemanager_v2
- cloudresourcemanager_v2beta1
This commit is contained in:
Google APIs 2019-10-27 00:37:26 +00:00
parent 68f2bbe78e
commit 2338c4bfc3
10 changed files with 108 additions and 87 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigtable/
module BigtableadminV2
VERSION = 'V2'
REVISION = '20190906'
REVISION = '20191007'
# Administer your Cloud Bigtable tables and clusters
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'

View File

@ -1282,25 +1282,34 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
# `members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example**
# `
# "bindings": [
# `
# "role": "roles/owner",
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
# "user:mike@example.com",
# "group:admins@example.com",
# "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ]
# `,
# `
# "role": "roles/viewer",
# "members": ["user:sean@example.com"]
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time <
# timestamp('2020-10-01T00:00:00.000Z')",
# `
# `
# ]
# `
@ -1310,11 +1319,15 @@ module Google
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin
# - members:
# - user:sean@example.com
# role: roles/viewer
# - user:eve@example.com
# role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs).
class Policy
@ -1325,7 +1338,8 @@ module Google
# @return [Array<Google::Apis::BigtableadminV2::AuditConfig>]
attr_accessor :audit_configs
# Associates a list of `members` to a `role`.
# Associates a list of `members` to a `role`. Optionally may specify a
# `condition` that determines when binding is in effect.
# `bindings` with no members will result in an error.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::BigtableadminV2::Binding>]
@ -1339,7 +1353,9 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten.
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
# 'setIamPolicy' will not fail even if either of incoming or stored policy
# does not meet the version requirements.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@ -1348,9 +1364,13 @@ module Google
# Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset.
# Operations affecting conditional bindings must specify version 3. This can
# be either setting a conditional policy, modifying a conditional binding,
# or removing a conditional binding from the stored conditional policy.
# Operations on non-conditional policies may specify any valid value or
# leave the field unset.
# If no etag is provided in the call to `setIamPolicy`, any version
# compliance checks on the incoming and/or stored policy is skipped.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -1374,25 +1394,34 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
# `members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example**
# `
# "bindings": [
# `
# "role": "roles/owner",
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
# "user:mike@example.com",
# "group:admins@example.com",
# "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ]
# `,
# `
# "role": "roles/viewer",
# "members": ["user:sean@example.com"]
# "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time <
# timestamp('2020-10-01T00:00:00.000Z')",
# `
# `
# ]
# `
@ -1402,11 +1431,15 @@ module Google
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin
# - members:
# - user:sean@example.com
# role: roles/viewer
# - user:eve@example.com
# role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy`

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1
VERSION = 'V1'
REVISION = '20190927'
REVISION = '20191018'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -869,9 +869,9 @@ module Google
# if the value contains a ":". Values prefixed with "is:" are treated the
# same as values with no prefix.
# Ancestry subtrees must be in one of the following formats:
# - “projects/<project-id>”, e.g. “projects/tokyo-rain-123”
# - “folders/<folder-id>”, e.g. “folders/1234”
# - “organizations/<organization-id>”, e.g. “organizations/1234”
# - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
# - "folders/<folder-id>", e.g. "folders/1234"
# - "organizations/<organization-id>", e.g. "organizations/1234"
# The `supports_under` field of the associated `Constraint` defines whether
# ancestry prefixes can be used. You can set `allowed_values` and
# `denied_values` in the same `Policy` if `all_values` is
@ -922,16 +922,16 @@ module Google
# `projects/bar` parented by `organizations/foo`:
# Example 1 (no inherited values):
# `organizations/foo` has a `Policy` with values:
# `allowed_values: “E1” allowed_values:”E2”`
# `allowed_values: "E1" allowed_values:"E2"`
# `projects/bar` has `inherit_from_parent` `false` and values:
# `allowed_values: "E3" allowed_values: "E4"`
# The accepted values at `organizations/foo` are `E1`, `E2`.
# The accepted values at `projects/bar` are `E3`, and `E4`.
# Example 2 (inherited values):
# `organizations/foo` has a `Policy` with values:
# `allowed_values: “E1” allowed_values:”E2”`
# `allowed_values: "E1" allowed_values:"E2"`
# `projects/bar` has a `Policy` with values:
# `value: “E3” value: ”E4” inherit_from_parent: true`
# `value: "E3" value: "E4" inherit_from_parent: true`
# The accepted values at `organizations/foo` are `E1`, `E2`.
# The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.
# Example 3 (inheriting both allowed and denied values):
@ -943,7 +943,7 @@ module Google
# The value accepted at `projects/bar` is `E2`.
# Example 4 (RestoreDefault):
# `organizations/foo` has a `Policy` with values:
# `allowed_values: “E1” allowed_values:”E2”`
# `allowed_values: "E1" allowed_values:"E2"`
# `projects/bar` has a `Policy` with values:
# `RestoreDefault: ```
# The accepted values at `organizations/foo` are `E1`, `E2`.
@ -958,14 +958,14 @@ module Google
# `DENY`, none).
# Example 6 (ListConstraint allowing all):
# `organizations/foo` has a `Policy` with values:
# `allowed_values: “E1” allowed_values: ”E2”`
# `allowed_values: "E1" allowed_values: "E2"`
# `projects/bar` has a `Policy` with:
# `all: ALLOW`
# The accepted values at `organizations/foo` are `E1`, E2`.
# Any value is accepted at `projects/bar`.
# Example 7 (ListConstraint allowing none):
# `organizations/foo` has a `Policy` with values:
# `allowed_values: “E1” allowed_values: ”E2”`
# `allowed_values: "E1" allowed_values: "E2"`
# `projects/bar` has a `Policy` with:
# `all: DENY`
# The accepted values at `organizations/foo` are `E1`, E2`.
@ -1158,9 +1158,9 @@ module Google
# if the value contains a ":". Values prefixed with "is:" are treated the
# same as values with no prefix.
# Ancestry subtrees must be in one of the following formats:
# - “projects/<project-id>”, e.g. “projects/tokyo-rain-123”
# - “folders/<folder-id>”, e.g. “folders/1234”
# - “organizations/<organization-id>”, e.g. “organizations/1234”
# - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
# - "folders/<folder-id>", e.g. "folders/1234"
# - "organizations/<organization-id>", e.g. "organizations/1234"
# The `supports_under` field of the associated `Constraint` defines whether
# ancestry prefixes can be used. You can set `allowed_values` and
# `denied_values` in the same `Policy` if `all_values` is

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2
VERSION = 'V2'
REVISION = '20190927'
REVISION = '20191018'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -268,7 +268,7 @@ module Google
# @return [String]
attr_accessor :name
# The Folders parent's resource name.
# Required. The Folders parent's resource name.
# Updates to the folder's parent must be performed via
# MoveFolder.
# Corresponds to the JSON property `parent`
@ -402,7 +402,6 @@ module Google
# A pagination token returned from a previous call to `ListFolders`
# that indicates from where listing should continue.
# This field is optional.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -422,7 +421,7 @@ module Google
class MoveFolderRequest
include Google::Apis::Core::Hashable
# The resource name of the Folder or Organization to reparent
# Required. The resource name of the Folder or Organization to reparent
# the folder under.
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
# Corresponds to the JSON property `destinationParent`
@ -652,15 +651,13 @@ module Google
class SearchFoldersRequest
include Google::Apis::Core::Hashable
# The maximum number of folders to return in the response.
# This field is optional.
# Optional. The maximum number of folders to return in the response.
# Corresponds to the JSON property `pageSize`
# @return [Fixnum]
attr_accessor :page_size
# A pagination token returned from a previous call to `SearchFolders`
# Optional. A pagination token returned from a previous call to `SearchFolders`
# that indicates from where search should continue.
# This field is optional.
# Corresponds to the JSON property `pageToken`
# @return [String]
attr_accessor :page_token
@ -712,7 +709,6 @@ module Google
# A pagination token returned from a previous call to `SearchFolders`
# that indicates from where searching should continue.
# This field is optional.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token

View File

@ -73,7 +73,7 @@ module Google
# identified parent.
# @param [Google::Apis::CloudresourcemanagerV2::Folder] folder_object
# @param [String] parent
# The resource name of the new Folder's parent.
# Required. The resource name of the new Folder's parent.
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -114,7 +114,7 @@ module Google
# The caller must have `resourcemanager.folders.delete` permission on the
# identified folder.
# @param [String] name
# the resource name of the Folder to be deleted.
# Required. the resource name of the Folder to be deleted.
# Must be of the form `folders/`folder_id``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -149,7 +149,7 @@ module Google
# The caller must have `resourcemanager.folders.get` permission on the
# identified folder.
# @param [String] name
# The resource name of the Folder to retrieve.
# Required. The resource name of the Folder to retrieve.
# Must be of the form `folders/`folder_id``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -224,22 +224,20 @@ module Google
# The caller must have `resourcemanager.folders.list` permission on the
# identified parent.
# @param [Fixnum] page_size
# The maximum number of Folders to return in the response.
# This field is optional.
# Optional. The maximum number of Folders to return in the response.
# @param [String] page_token
# A pagination token returned from a previous call to `ListFolders`
# Optional. A pagination token returned from a previous call to `ListFolders`
# that indicates where this listing should continue from.
# This field is optional.
# @param [String] parent
# The resource name of the Organization or Folder whose Folders are
# Required. The resource name of the Organization or Folder whose Folders are
# being listed.
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
# Access to this method is controlled by checking the
# `resourcemanager.folders.list` permission on the `parent`.
# @param [Boolean] show_deleted
# Controls whether Folders in the
# Optional. Controls whether Folders in the
# DELETE_REQUESTED
# state should be returned. Defaults to false. This field is optional.
# state should be returned. Defaults to false.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -288,7 +286,7 @@ module Google
# The caller must have `resourcemanager.folders.move` permission on the
# folder's current and proposed new parent.
# @param [String] name
# The resource name of the Folder to move.
# Required. The resource name of the Folder to move.
# Must be of the form folders/`folder_id`
# @param [Google::Apis::CloudresourcemanagerV2::MoveFolderRequest] move_folder_request_object
# @param [String] fields
@ -338,7 +336,7 @@ module Google
# Its format is `folders/`folder_id``, for example: "folders/1234".
# @param [Google::Apis::CloudresourcemanagerV2::Folder] folder_object
# @param [String] update_mask
# Fields to be updated.
# Required. Fields to be updated.
# Only the `display_name` can be updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -490,7 +488,7 @@ module Google
# The caller must have `resourcemanager.folders.undelete` permission on the
# identified folder.
# @param [String] name
# The resource name of the Folder to undelete.
# Required. The resource name of the Folder to undelete.
# Must be of the form `folders/`folder_id``.
# @param [Google::Apis::CloudresourcemanagerV2::UndeleteFolderRequest] undelete_folder_request_object
# @param [String] fields

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2beta1
VERSION = 'V2beta1'
REVISION = '20190927'
REVISION = '20191018'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -268,7 +268,7 @@ module Google
# @return [String]
attr_accessor :name
# The Folders parent's resource name.
# Required. The Folders parent's resource name.
# Updates to the folder's parent must be performed via
# MoveFolder.
# Corresponds to the JSON property `parent`
@ -402,7 +402,6 @@ module Google
# A pagination token returned from a previous call to `ListFolders`
# that indicates from where listing should continue.
# This field is optional.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -422,7 +421,7 @@ module Google
class MoveFolderRequest
include Google::Apis::Core::Hashable
# The resource name of the Folder or Organization to reparent
# Required. The resource name of the Folder or Organization to reparent
# the folder under.
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
# Corresponds to the JSON property `destinationParent`
@ -652,15 +651,13 @@ module Google
class SearchFoldersRequest
include Google::Apis::Core::Hashable
# The maximum number of folders to return in the response.
# This field is optional.
# Optional. The maximum number of folders to return in the response.
# Corresponds to the JSON property `pageSize`
# @return [Fixnum]
attr_accessor :page_size
# A pagination token returned from a previous call to `SearchFolders`
# Optional. A pagination token returned from a previous call to `SearchFolders`
# that indicates from where search should continue.
# This field is optional.
# Corresponds to the JSON property `pageToken`
# @return [String]
attr_accessor :page_token
@ -712,7 +709,6 @@ module Google
# A pagination token returned from a previous call to `SearchFolders`
# that indicates from where searching should continue.
# This field is optional.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token

View File

@ -73,7 +73,7 @@ module Google
# identified parent.
# @param [Google::Apis::CloudresourcemanagerV2beta1::Folder] folder_object
# @param [String] parent
# The resource name of the new Folder's parent.
# Required. The resource name of the new Folder's parent.
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -114,7 +114,7 @@ module Google
# The caller must have `resourcemanager.folders.delete` permission on the
# identified folder.
# @param [String] name
# the resource name of the Folder to be deleted.
# Required. the resource name of the Folder to be deleted.
# Must be of the form `folders/`folder_id``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -149,7 +149,7 @@ module Google
# The caller must have `resourcemanager.folders.get` permission on the
# identified folder.
# @param [String] name
# The resource name of the Folder to retrieve.
# Required. The resource name of the Folder to retrieve.
# Must be of the form `folders/`folder_id``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -224,22 +224,20 @@ module Google
# The caller must have `resourcemanager.folders.list` permission on the
# identified parent.
# @param [Fixnum] page_size
# The maximum number of Folders to return in the response.
# This field is optional.
# Optional. The maximum number of Folders to return in the response.
# @param [String] page_token
# A pagination token returned from a previous call to `ListFolders`
# Optional. A pagination token returned from a previous call to `ListFolders`
# that indicates where this listing should continue from.
# This field is optional.
# @param [String] parent
# The resource name of the Organization or Folder whose Folders are
# Required. The resource name of the Organization or Folder whose Folders are
# being listed.
# Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
# Access to this method is controlled by checking the
# `resourcemanager.folders.list` permission on the `parent`.
# @param [Boolean] show_deleted
# Controls whether Folders in the
# Optional. Controls whether Folders in the
# DELETE_REQUESTED
# state should be returned. Defaults to false. This field is optional.
# state should be returned. Defaults to false.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -288,7 +286,7 @@ module Google
# The caller must have `resourcemanager.folders.move` permission on the
# folder's current and proposed new parent.
# @param [String] name
# The resource name of the Folder to move.
# Required. The resource name of the Folder to move.
# Must be of the form folders/`folder_id`
# @param [Google::Apis::CloudresourcemanagerV2beta1::MoveFolderRequest] move_folder_request_object
# @param [String] fields
@ -338,7 +336,7 @@ module Google
# Its format is `folders/`folder_id``, for example: "folders/1234".
# @param [Google::Apis::CloudresourcemanagerV2beta1::Folder] folder_object
# @param [String] update_mask
# Fields to be updated.
# Required. Fields to be updated.
# Only the `display_name` can be updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -490,7 +488,7 @@ module Google
# The caller must have `resourcemanager.folders.undelete` permission on the
# identified folder.
# @param [String] name
# The resource name of the Folder to undelete.
# Required. The resource name of the Folder to undelete.
# Must be of the form `folders/`folder_id``.
# @param [Google::Apis::CloudresourcemanagerV2beta1::UndeleteFolderRequest] undelete_folder_request_object
# @param [String] fields