Autogenerated update (2019-10-03)
Delete: - dfareporting_v3_1 Update: - androidmanagement_v1 - cloudiot_v1 - cloudtasks_v2beta3 - containeranalysis_v1alpha1 - containeranalysis_v1beta1 - iam_v1 - ml_v1 - policytroubleshooter_v1beta - translate_v3beta1
This commit is contained in:
parent
5b2bdc6342
commit
7d921fbdd7
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/android/management
|
||||
module AndroidmanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190912'
|
||||
REVISION = '20191001'
|
||||
|
||||
# Manage Android devices and apps for your customers
|
||||
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
||||
|
|
|
@ -2034,7 +2034,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A policy resources represents a group settings that govern the behavior of a
|
||||
# A policy resource represents a group of settings that govern the behavior of a
|
||||
# managed device and the apps installed on it.
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -3266,6 +3266,16 @@ module Google
|
|||
class WebToken
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The features to enable. Use this if you want to control exactly which feature(
|
||||
# s) will be activated; leave empty to allow all features.Restrictions / things
|
||||
# to note: <ul> <li> If no features are listed here, all features are enabled —
|
||||
# this is the default behavior where you give access to all features to your
|
||||
# admins. <li> This must not contain any FEATURE_UNSPECIFIED values. <li>
|
||||
# Repeated values are ignored </ul>
|
||||
# Corresponds to the JSON property `enabledFeatures`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :enabled_features
|
||||
|
||||
# The name of the web token, which is generated by the server during creation in
|
||||
# the form enterprises/`enterpriseId`/webTokens/`webTokenId`.
|
||||
# Corresponds to the JSON property `name`
|
||||
|
@ -3297,6 +3307,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@enabled_features = args[:enabled_features] if args.key?(:enabled_features)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@parent_frame_url = args[:parent_frame_url] if args.key?(:parent_frame_url)
|
||||
@permissions = args[:permissions] if args.key?(:permissions)
|
||||
|
|
|
@ -1153,6 +1153,7 @@ module Google
|
|||
class WebToken
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :enabled_features, as: 'enabledFeatures'
|
||||
property :name, as: 'name'
|
||||
property :parent_frame_url, as: 'parentFrameUrl'
|
||||
collection :permissions, as: 'permissions'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/iot
|
||||
module CloudiotV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190828'
|
||||
REVISION = '20190924'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,14 +26,14 @@ module Google
|
|||
class BindDeviceToGatewayRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The device to associate with the specified gateway. The value of
|
||||
# Required. The device to associate with the specified gateway. The value of
|
||||
# `device_id` can be either the device numeric ID or the user-defined device
|
||||
# identifier.
|
||||
# Corresponds to the JSON property `deviceId`
|
||||
# @return [String]
|
||||
attr_accessor :device_id
|
||||
|
||||
# The value of `gateway_id` can be either the device numeric ID or the
|
||||
# Required. The value of `gateway_id` can be either the device numeric ID or the
|
||||
# user-defined device identifier.
|
||||
# Corresponds to the JSON property `gatewayId`
|
||||
# @return [String]
|
||||
|
@ -747,7 +747,7 @@ module Google
|
|||
class ModifyCloudToDeviceConfigRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The configuration data for the device.
|
||||
# Required. The configuration data for the device.
|
||||
# Corresponds to the JSON property `binaryData`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -795,25 +795,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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -823,17 +832,22 @@ 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
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# 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::CloudiotV1::Binding>]
|
||||
|
@ -847,7 +861,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]
|
||||
|
@ -856,9 +872,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
|
||||
|
@ -954,7 +974,7 @@ module Google
|
|||
class SendCommandToDeviceRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The command data to send to the device.
|
||||
# Required. The command data to send to the device.
|
||||
# Corresponds to the JSON property `binaryData`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -999,25 +1019,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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -1027,11 +1056,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`
|
||||
|
@ -1153,14 +1186,14 @@ module Google
|
|||
class UnbindDeviceFromGatewayRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The device to disassociate from the specified gateway. The value of
|
||||
# Required. The device to disassociate from the specified gateway. The value of
|
||||
# `device_id` can be either the device numeric ID or the user-defined device
|
||||
# identifier.
|
||||
# Corresponds to the JSON property `deviceId`
|
||||
# @return [String]
|
||||
attr_accessor :device_id
|
||||
|
||||
# The value of `gateway_id` can be either the device numeric ID or the
|
||||
# Required. The value of `gateway_id` can be either the device numeric ID or the
|
||||
# user-defined device identifier.
|
||||
# Corresponds to the JSON property `gatewayId`
|
||||
# @return [String]
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
# Associates the device with the gateway.
|
||||
# @param [String] parent
|
||||
# The name of the registry. For example,
|
||||
# Required. The name of the registry. For example,
|
||||
# `projects/example-project/locations/us-central1/registries/my-registry`.
|
||||
# @param [Google::Apis::CloudiotV1::BindDeviceToGatewayRequest] bind_device_to_gateway_request_object
|
||||
# @param [String] fields
|
||||
|
@ -84,7 +84,8 @@ module Google
|
|||
|
||||
# Creates a device registry that contains devices.
|
||||
# @param [String] parent
|
||||
# The project and cloud region where this device registry must be created.
|
||||
# Required. The project and cloud region where this device registry must be
|
||||
# created.
|
||||
# For example, `projects/example-project/locations/us-central1`.
|
||||
# @param [Google::Apis::CloudiotV1::DeviceRegistry] device_registry_object
|
||||
# @param [String] fields
|
||||
|
@ -118,7 +119,7 @@ module Google
|
|||
|
||||
# Deletes a device registry configuration.
|
||||
# @param [String] name
|
||||
# The name of the device registry. For example,
|
||||
# Required. The name of the device registry. For example,
|
||||
# `projects/example-project/locations/us-central1/registries/my-registry`.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -149,7 +150,7 @@ module Google
|
|||
|
||||
# Gets a device registry configuration.
|
||||
# @param [String] name
|
||||
# The name of the device registry. For example,
|
||||
# Required. The name of the device registry. For example,
|
||||
# `projects/example-project/locations/us-central1/registries/my-registry`.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -216,7 +217,7 @@ module Google
|
|||
|
||||
# Lists device registries.
|
||||
# @param [String] parent
|
||||
# The project and cloud region path. For example,
|
||||
# Required. The project and cloud region path. For example,
|
||||
# `projects/example-project/locations/us-central1`.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of registries to return in the response. If this value
|
||||
|
@ -262,7 +263,7 @@ module Google
|
|||
# `projects/example-project/locations/us-central1/registries/my-registry`.
|
||||
# @param [Google::Apis::CloudiotV1::DeviceRegistry] device_registry_object
|
||||
# @param [String] update_mask
|
||||
# Only updates the `device_registry` fields indicated by this mask.
|
||||
# Required. Only updates the `device_registry` fields indicated by this mask.
|
||||
# The field mask must not be empty, and it must not contain fields that
|
||||
# are immutable or only set by the server.
|
||||
# Mutable top-level fields: `event_notification_config`, `http_config`,
|
||||
|
@ -370,7 +371,7 @@ module Google
|
|||
|
||||
# Deletes the association between the device and the gateway.
|
||||
# @param [String] parent
|
||||
# The name of the registry. For example,
|
||||
# Required. The name of the registry. For example,
|
||||
# `projects/example-project/locations/us-central1/registries/my-registry`.
|
||||
# @param [Google::Apis::CloudiotV1::UnbindDeviceFromGatewayRequest] unbind_device_from_gateway_request_object
|
||||
# @param [String] fields
|
||||
|
@ -404,7 +405,7 @@ module Google
|
|||
|
||||
# Creates a device in a device registry.
|
||||
# @param [String] parent
|
||||
# The name of the device registry where this device should be created.
|
||||
# Required. The name of the device registry where this device should be created.
|
||||
# For example,
|
||||
# `projects/example-project/locations/us-central1/registries/my-registry`.
|
||||
# @param [Google::Apis::CloudiotV1::Device] device_object
|
||||
|
@ -439,7 +440,7 @@ module Google
|
|||
|
||||
# Deletes a device.
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# Required. The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [String] fields
|
||||
|
@ -471,7 +472,7 @@ module Google
|
|||
|
||||
# Gets details about a device.
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# Required. The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [String] field_mask
|
||||
|
@ -507,7 +508,7 @@ module Google
|
|||
|
||||
# List devices in a device registry.
|
||||
# @param [String] parent
|
||||
# The device registry path. Required. For example,
|
||||
# Required. The device registry path. Required. For example,
|
||||
# `projects/my-project/locations/us-central1/registries/my-registry`.
|
||||
# @param [Array<String>, String] device_ids
|
||||
# A list of device string IDs. For example, `['device0', 'device12']`.
|
||||
|
@ -581,7 +582,7 @@ module Google
|
|||
# the Cloud IoT Core servers. Returns the modified configuration version and
|
||||
# its metadata.
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# Required. The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest] modify_cloud_to_device_config_request_object
|
||||
|
@ -623,7 +624,7 @@ module Google
|
|||
# in the device numeric ID.
|
||||
# @param [Google::Apis::CloudiotV1::Device] device_object
|
||||
# @param [String] update_mask
|
||||
# Only updates the `device` fields indicated by this mask.
|
||||
# Required. Only updates the `device` fields indicated by this mask.
|
||||
# The field mask must not be empty, and it must not contain fields that
|
||||
# are immutable or only set by the server.
|
||||
# Mutable top-level fields: `credentials`, `blocked`, and `metadata`
|
||||
|
@ -671,7 +672,7 @@ module Google
|
|||
# return OK. If the subscription is QoS 1, at least once delivery will be
|
||||
# guaranteed; for QoS 0, no acknowledgment will be expected from the device.
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# Required. The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [Google::Apis::CloudiotV1::SendCommandToDeviceRequest] send_command_to_device_request_object
|
||||
|
@ -707,7 +708,7 @@ module Google
|
|||
# Lists the last few versions of the device configuration in descending
|
||||
# order (i.e.: newest first).
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# Required. The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [Fixnum] num_versions
|
||||
|
@ -745,7 +746,7 @@ module Google
|
|||
# Lists the last few versions of the device state in descending order (i.e.:
|
||||
# newest first).
|
||||
# @param [String] name
|
||||
# The name of the device. For example,
|
||||
# Required. The name of the device. For example,
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
||||
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
||||
# @param [Fixnum] num_states
|
||||
|
@ -889,7 +890,7 @@ module Google
|
|||
|
||||
# List devices in a device registry.
|
||||
# @param [String] parent
|
||||
# The device registry path. Required. For example,
|
||||
# Required. The device registry path. Required. For example,
|
||||
# `projects/my-project/locations/us-central1/registries/my-registry`.
|
||||
# @param [Array<String>, String] device_ids
|
||||
# A list of device string IDs. For example, `['device0', 'device12']`.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tasks/
|
||||
module CloudtasksV2beta3
|
||||
VERSION = 'V2beta3'
|
||||
REVISION = '20190906'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -886,25 +886,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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -914,17 +923,22 @@ 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
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# 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::CloudtasksV2beta3::Binding>]
|
||||
|
@ -938,7 +952,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]
|
||||
|
@ -947,9 +963,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
|
||||
|
@ -1321,25 +1341,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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -1349,11 +1378,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`
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
||||
module ContaineranalysisV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20190913'
|
||||
REVISION = '20190930'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1939,25 +1939,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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -1967,17 +1976,22 @@ 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
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# 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::ContaineranalysisV1alpha1::Binding>]
|
||||
|
@ -1991,7 +2005,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]
|
||||
|
@ -2000,9 +2016,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
|
||||
|
@ -2171,25 +2191,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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -2199,11 +2228,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`
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
||||
module ContaineranalysisV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190913'
|
||||
REVISION = '20190930'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2127,25 +2127,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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -2155,17 +2164,22 @@ 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
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# 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::ContaineranalysisV1beta1::Binding>]
|
||||
|
@ -2179,7 +2193,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]
|
||||
|
@ -2188,9 +2204,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
|
||||
|
@ -2372,25 +2392,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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -2400,11 +2429,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`
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/dfareporting_v3_1/service.rb'
|
||||
require 'google/apis/dfareporting_v3_1/classes.rb'
|
||||
require 'google/apis/dfareporting_v3_1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# DCM/DFA Reporting And Trafficking API
|
||||
#
|
||||
# Manages your DoubleClick Campaign Manager ad campaigns and reports.
|
||||
#
|
||||
# @see https://developers.google.com/doubleclick-advertisers/
|
||||
module DfareportingV3_1
|
||||
VERSION = 'V3_1'
|
||||
REVISION = '20190904'
|
||||
|
||||
# Manage DoubleClick Digital Marketing conversions
|
||||
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
|
||||
|
||||
# View and manage DoubleClick for Advertisers reports
|
||||
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
|
||||
|
||||
# View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
|
||||
AUTH_DFATRAFFICKING = 'https://www.googleapis.com/auth/dfatrafficking'
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -2003,25 +2003,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": "role/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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -2031,11 +2040,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
|
||||
|
@ -2046,7 +2059,8 @@ module Google
|
|||
# @return [Array<Google::Apis::HealthcareV1beta1::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::HealthcareV1beta1::Binding>]
|
||||
|
@ -2060,7 +2074,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]
|
||||
|
@ -2069,9 +2085,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
|
||||
|
@ -2250,25 +2270,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": "role/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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -2278,11 +2307,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`
|
||||
|
|
|
@ -2540,6 +2540,8 @@ module Google
|
|||
# GCP error might be returned instead.
|
||||
# @param [String] name
|
||||
# The name of the resource to retrieve.
|
||||
# @param [String] _page_token
|
||||
# Same as `page`. Please use either `page` or `_page_token`.
|
||||
# @param [String] at
|
||||
# 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
|
||||
|
@ -2553,9 +2555,10 @@ module Google
|
|||
# The maximum number of search results on a page. Defaults to 1000.
|
||||
# @param [String] page
|
||||
# Used to retrieve the first, previous, next, or last page of resource
|
||||
# versions when using pagination. Value should be set to the value of the
|
||||
# `link.url` field returned in the response to the previous request, where
|
||||
# `link.relation` is "first", "previous", "next" or "last".
|
||||
# versions when using pagination. Value should be set to the value of
|
||||
# `page` 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` if no previous request has been made.
|
||||
# @param [String] since
|
||||
# Only include resource versions that were created at or after the given
|
||||
|
@ -2580,11 +2583,12 @@ module Google
|
|||
# @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::AuthorizationError] Authorization is required
|
||||
def history_project_location_dataset_fhir_store_fhir(name, 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, _page_token: nil, at: nil, count: nil, page: nil, since: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+name}/_history', options)
|
||||
command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
|
||||
command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['_page_token'] = _page_token unless _page_token.nil?
|
||||
command.query['at'] = at unless at.nil?
|
||||
command.query['count'] = count unless count.nil?
|
||||
command.query['page'] = page unless page.nil?
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/iam/
|
||||
module IamV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190920'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -530,7 +530,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
@ -896,7 +896,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
@ -1446,7 +1446,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/ml/
|
||||
module MlV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190920'
|
||||
REVISION = '20190928'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -109,6 +109,7 @@ module Google
|
|||
end
|
||||
|
||||
# Represents a hardware accelerator request config.
|
||||
# Note that the AcceleratorConfig could be used in both Jobs and Versions.
|
||||
class GoogleCloudMlV1AcceleratorConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1175,6 +1176,7 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a hardware accelerator request config.
|
||||
# Note that the AcceleratorConfig could be used in both Jobs and Versions.
|
||||
# Corresponds to the JSON property `acceleratorConfig`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
|
||||
attr_accessor :accelerator_config
|
||||
|
@ -1624,6 +1626,12 @@ module Google
|
|||
class GoogleCloudMlV1Version
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a hardware accelerator request config.
|
||||
# Note that the AcceleratorConfig could be used in both Jobs and Versions.
|
||||
# Corresponds to the JSON property `acceleratorConfig`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
|
||||
attr_accessor :accelerator_config
|
||||
|
||||
# Options for automatically scaling a model.
|
||||
# Corresponds to the JSON property `autoScaling`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling]
|
||||
|
@ -1845,6 +1853,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
|
||||
@auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri)
|
||||
|
@ -2045,7 +2054,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
@ -2157,7 +2166,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
|
|
@ -604,6 +604,8 @@ module Google
|
|||
class GoogleCloudMlV1Version
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig::Representation
|
||||
|
||||
property :auto_scaling, as: 'autoScaling', class: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling::Representation
|
||||
|
||||
property :create_time, as: 'createTime'
|
||||
|
|
|
@ -363,6 +363,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -752,6 +753,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/iam/
|
||||
module PolicytroubleshooterV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20190913'
|
||||
REVISION = '20190929'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -180,25 +180,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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -208,11 +217,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`
|
||||
|
@ -451,25 +464,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')",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
@ -479,11 +501,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 GoogleIamV1Policy
|
||||
|
@ -494,7 +520,8 @@ module Google
|
|||
# @return [Array<Google::Apis::PolicytroubleshooterV1beta::GoogleIamV1AuditConfig>]
|
||||
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::PolicytroubleshooterV1beta::GoogleIamV1Binding>]
|
||||
|
@ -508,7 +535,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]
|
||||
|
@ -517,9 +546,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
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/translate/docs/quickstarts
|
||||
module TranslateV3beta1
|
||||
VERSION = 'V3beta1'
|
||||
REVISION = '20190920'
|
||||
REVISION = '20190924'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -55,10 +55,10 @@ module Google
|
|||
# or an AutoML Translation model.
|
||||
# The value format depends on model type:
|
||||
# - AutoML Translation models:
|
||||
# `projects/`project-id`/locations/`location-id`/models/`model-id``
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/`model-id``
|
||||
# - General (built-in) models:
|
||||
# `projects/`project-id`/locations/`location-id`/models/general/nmt`,
|
||||
# `projects/`project-id`/locations/`location-id`/models/general/base`
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/general/base`
|
||||
# If the map is empty or a specific model is
|
||||
# not requested for a language pair, then default google model (nmt) is used.
|
||||
# Corresponds to the JSON property `models`
|
||||
|
@ -136,11 +136,11 @@ module Google
|
|||
|
||||
# Optional. The language detection model to be used.
|
||||
# Format:
|
||||
# `projects/`project-id`/locations/`location-id`/models/language-detection/`
|
||||
# model-id``
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/language-
|
||||
# detection/`model-id``
|
||||
# Only one language detection model is currently supported:
|
||||
# `projects/`project-id`/locations/`location-id`/models/language-detection/
|
||||
# default`.
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/language-
|
||||
# detection/default`.
|
||||
# If not specified, the default model is used.
|
||||
# Corresponds to the JSON property `model`
|
||||
# @return [String]
|
||||
|
@ -294,7 +294,8 @@ module Google
|
|||
attr_accessor :language_pair
|
||||
|
||||
# Required. The resource name of the glossary. Glossary names have the form
|
||||
# `projects/`project-id`/locations/`location-id`/glossaries/`glossary-id``.
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/glossaries/`glossary-
|
||||
# id``.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -790,13 +791,13 @@ module Google
|
|||
# Optional. The `model` type requested for this translation.
|
||||
# The format depends on model type:
|
||||
# - AutoML Translation models:
|
||||
# `projects/`project-id`/locations/`location-id`/models/`model-id``
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/`model-id``
|
||||
# - General (built-in) models:
|
||||
# `projects/`project-id`/locations/`location-id`/models/general/nmt`,
|
||||
# `projects/`project-id`/locations/`location-id`/models/general/base`
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/general/base`
|
||||
# For global (non-regionalized) requests, use `location-id` `global`.
|
||||
# For example,
|
||||
# `projects/`project-id`/locations/global/models/general/nmt`.
|
||||
# `projects/`project-number-or-id`/locations/global/models/general/nmt`.
|
||||
# If missing, the system decides which google base model to use.
|
||||
# Corresponds to the JSON property `model`
|
||||
# @return [String]
|
||||
|
@ -883,7 +884,12 @@ module Google
|
|||
attr_accessor :glossary_config
|
||||
|
||||
# Only present when `model` is present in the request.
|
||||
# This is same as `model` provided in the request.
|
||||
# `model` here is normalized to have project number.
|
||||
# For example:
|
||||
# If the `model` requested in TranslationTextRequest is
|
||||
# `projects/`project-id`/locations/`location-id`/models/general/nmt` then
|
||||
# `model` here would be normalized to
|
||||
# `projects/`project-number`/locations/`location-id`/models/general/nmt`.
|
||||
# Corresponds to the JSON property `model`
|
||||
# @return [String]
|
||||
attr_accessor :model
|
||||
|
|
|
@ -51,10 +51,10 @@ module Google
|
|||
# @param [String] parent
|
||||
# Required. Project or location to make a call. Must refer to a caller's
|
||||
# project.
|
||||
# Format: `projects/`project-id`/locations/`location-id`` or
|
||||
# `projects/`project-id``.
|
||||
# For global calls, use `projects/`project-id`/locations/global` or
|
||||
# `projects/`project-id``.
|
||||
# Format: `projects/`project-number-or-id`/locations/`location-id`` or
|
||||
# `projects/`project-number-or-id``.
|
||||
# For global calls, use `projects/`project-number-or-id`/locations/global` or
|
||||
# `projects/`project-number-or-id``.
|
||||
# Only models within the same region (has same location-id) can be used.
|
||||
# Otherwise an INVALID_ARGUMENT (400) error is returned.
|
||||
# @param [Google::Apis::TranslateV3beta1::DetectLanguageRequest] detect_language_request_object
|
||||
|
@ -91,10 +91,10 @@ module Google
|
|||
# @param [String] parent
|
||||
# Required. Project or location to make a call. Must refer to a caller's
|
||||
# project.
|
||||
# Format: `projects/`project-id`` or
|
||||
# `projects/`project-id`/locations/`location-id``.
|
||||
# For global calls, use `projects/`project-id`/locations/global` or
|
||||
# `projects/`project-id``.
|
||||
# Format: `projects/`project-number-or-id`` or
|
||||
# `projects/`project-number-or-id`/locations/`location-id``.
|
||||
# For global calls, use `projects/`project-number-or-id`/locations/global` or
|
||||
# `projects/`project-number-or-id``.
|
||||
# Non-global location is required for AutoML models.
|
||||
# Only models within the same region (have same location-id) can be used,
|
||||
# otherwise an INVALID_ARGUMENT (400) error is returned.
|
||||
|
@ -106,10 +106,10 @@ module Google
|
|||
# Optional. Get supported languages of this model.
|
||||
# The format depends on model type:
|
||||
# - AutoML Translation models:
|
||||
# `projects/`project-id`/locations/`location-id`/models/`model-id``
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/`model-id``
|
||||
# - General (built-in) models:
|
||||
# `projects/`project-id`/locations/`location-id`/models/general/nmt`,
|
||||
# `projects/`project-id`/locations/`location-id`/models/general/base`
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/general/base`
|
||||
# Returns languages supported by the specified model.
|
||||
# If missing, we get supported languages of Google general base (PBMT) model.
|
||||
# @param [String] fields
|
||||
|
@ -145,10 +145,10 @@ module Google
|
|||
# @param [String] parent
|
||||
# Required. Project or location to make a call. Must refer to a caller's
|
||||
# project.
|
||||
# Format: `projects/`project-id`` or
|
||||
# `projects/`project-id`/locations/`location-id``.
|
||||
# For global calls, use `projects/`project-id`/locations/global` or
|
||||
# `projects/`project-id``.
|
||||
# Format: `projects/`project-number-or-id`` or
|
||||
# `projects/`project-number-or-id`/locations/`location-id``.
|
||||
# For global calls, use `projects/`project-number-or-id`/locations/global` or
|
||||
# `projects/`project-number-or-id``.
|
||||
# Non-global location is required for requests using AutoML models or
|
||||
# custom glossaries.
|
||||
# Models and glossaries must be within the same region (have same
|
||||
|
@ -191,7 +191,7 @@ module Google
|
|||
# use google.longrunning.Operation.name to poll the status of the call.
|
||||
# @param [String] parent
|
||||
# Required. Location to make a call. Must refer to a caller's project.
|
||||
# Format: `projects/`project-id`/locations/`location-id``.
|
||||
# Format: `projects/`project-number-or-id`/locations/`location-id``.
|
||||
# The `global` location is not supported for batch translation.
|
||||
# Only AutoML Translation models or glossaries within the same region (have
|
||||
# the same location-id) can be used, otherwise an INVALID_ARGUMENT (400)
|
||||
|
@ -230,10 +230,10 @@ module Google
|
|||
# @param [String] parent
|
||||
# Required. Project or location to make a call. Must refer to a caller's
|
||||
# project.
|
||||
# Format: `projects/`project-id`/locations/`location-id`` or
|
||||
# `projects/`project-id``.
|
||||
# For global calls, use `projects/`project-id`/locations/global` or
|
||||
# `projects/`project-id``.
|
||||
# Format: `projects/`project-number-or-id`/locations/`location-id`` or
|
||||
# `projects/`project-number-or-id``.
|
||||
# For global calls, use `projects/`project-number-or-id`/locations/global` or
|
||||
# `projects/`project-number-or-id``.
|
||||
# Only models within the same region (has same location-id) can be used.
|
||||
# Otherwise an INVALID_ARGUMENT (400) error is returned.
|
||||
# @param [Google::Apis::TranslateV3beta1::DetectLanguageRequest] detect_language_request_object
|
||||
|
@ -300,10 +300,10 @@ module Google
|
|||
# @param [String] parent
|
||||
# Required. Project or location to make a call. Must refer to a caller's
|
||||
# project.
|
||||
# Format: `projects/`project-id`` or
|
||||
# `projects/`project-id`/locations/`location-id``.
|
||||
# For global calls, use `projects/`project-id`/locations/global` or
|
||||
# `projects/`project-id``.
|
||||
# Format: `projects/`project-number-or-id`` or
|
||||
# `projects/`project-number-or-id`/locations/`location-id``.
|
||||
# For global calls, use `projects/`project-number-or-id`/locations/global` or
|
||||
# `projects/`project-number-or-id``.
|
||||
# Non-global location is required for AutoML models.
|
||||
# Only models within the same region (have same location-id) can be used,
|
||||
# otherwise an INVALID_ARGUMENT (400) error is returned.
|
||||
|
@ -315,10 +315,10 @@ module Google
|
|||
# Optional. Get supported languages of this model.
|
||||
# The format depends on model type:
|
||||
# - AutoML Translation models:
|
||||
# `projects/`project-id`/locations/`location-id`/models/`model-id``
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/`model-id``
|
||||
# - General (built-in) models:
|
||||
# `projects/`project-id`/locations/`location-id`/models/general/nmt`,
|
||||
# `projects/`project-id`/locations/`location-id`/models/general/base`
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
||||
# `projects/`project-number-or-id`/locations/`location-id`/models/general/base`
|
||||
# Returns languages supported by the specified model.
|
||||
# If missing, we get supported languages of Google general base (PBMT) model.
|
||||
# @param [String] fields
|
||||
|
@ -393,10 +393,10 @@ module Google
|
|||
# @param [String] parent
|
||||
# Required. Project or location to make a call. Must refer to a caller's
|
||||
# project.
|
||||
# Format: `projects/`project-id`` or
|
||||
# `projects/`project-id`/locations/`location-id``.
|
||||
# For global calls, use `projects/`project-id`/locations/global` or
|
||||
# `projects/`project-id``.
|
||||
# Format: `projects/`project-number-or-id`` or
|
||||
# `projects/`project-number-or-id`/locations/`location-id``.
|
||||
# For global calls, use `projects/`project-number-or-id`/locations/global` or
|
||||
# `projects/`project-number-or-id``.
|
||||
# Non-global location is required for requests using AutoML models or
|
||||
# custom glossaries.
|
||||
# Models and glossaries must be within the same region (have same
|
||||
|
|
Loading…
Reference in New Issue