Autogenerated update (2018-05-10)

Update:
- adexchangebuyer2_v2beta1
- container_v1
- deploymentmanager_alpha
- deploymentmanager_v2
- deploymentmanager_v2beta
- dialogflow_v2
- dialogflow_v2beta1
- dlp_v2
This commit is contained in:
Google APIs 2018-05-10 00:36:21 +00:00
parent f837674354
commit 0e385d6ea5
22 changed files with 286 additions and 54 deletions

View File

@ -37234,6 +37234,11 @@
"/deploymentmanager:alpha/Expr/expression": expression
"/deploymentmanager:alpha/Expr/location": location
"/deploymentmanager:alpha/Expr/title": title
"/deploymentmanager:alpha/GlobalSetPolicyRequest": global_set_policy_request
"/deploymentmanager:alpha/GlobalSetPolicyRequest/bindings": bindings
"/deploymentmanager:alpha/GlobalSetPolicyRequest/bindings/binding": binding
"/deploymentmanager:alpha/GlobalSetPolicyRequest/etag": etag
"/deploymentmanager:alpha/GlobalSetPolicyRequest/policy": policy
"/deploymentmanager:alpha/ImportFile": import_file
"/deploymentmanager:alpha/ImportFile/content": content
"/deploymentmanager:alpha/ImportFile/name": name
@ -37693,6 +37698,11 @@
"/deploymentmanager:v2/Expr/expression": expression
"/deploymentmanager:v2/Expr/location": location
"/deploymentmanager:v2/Expr/title": title
"/deploymentmanager:v2/GlobalSetPolicyRequest": global_set_policy_request
"/deploymentmanager:v2/GlobalSetPolicyRequest/bindings": bindings
"/deploymentmanager:v2/GlobalSetPolicyRequest/bindings/binding": binding
"/deploymentmanager:v2/GlobalSetPolicyRequest/etag": etag
"/deploymentmanager:v2/GlobalSetPolicyRequest/policy": policy
"/deploymentmanager:v2/ImportFile": import_file
"/deploymentmanager:v2/ImportFile/content": content
"/deploymentmanager:v2/ImportFile/name": name
@ -38041,6 +38051,11 @@
"/deploymentmanager:v2beta/Expr/expression": expression
"/deploymentmanager:v2beta/Expr/location": location
"/deploymentmanager:v2beta/Expr/title": title
"/deploymentmanager:v2beta/GlobalSetPolicyRequest": global_set_policy_request
"/deploymentmanager:v2beta/GlobalSetPolicyRequest/bindings": bindings
"/deploymentmanager:v2beta/GlobalSetPolicyRequest/bindings/binding": binding
"/deploymentmanager:v2beta/GlobalSetPolicyRequest/etag": etag
"/deploymentmanager:v2beta/GlobalSetPolicyRequest/policy": policy
"/deploymentmanager:v2beta/ImportFile": import_file
"/deploymentmanager:v2beta/ImportFile/content": content
"/deploymentmanager:v2beta/ImportFile/name": name

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20180430'
REVISION = '20180508'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1
VERSION = 'V1'
REVISION = '20180412'
REVISION = '20180427'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -364,7 +364,6 @@ module Google
# @return [Google::Apis::ContainerV1::MasterAuth]
attr_accessor :master_auth
# Master authorized networks is a Beta feature.
# Configuration options for the master authorized networks feature. Enabled
# master authorized networks will disallow all external traffic to access
# Kubernetes master through HTTPS except traffic from the given CIDR blocks,
@ -543,7 +542,6 @@ module Google
# @return [Array<String>]
attr_accessor :desired_locations
# Master authorized networks is a Beta feature.
# Configuration options for the master authorized networks feature. Enabled
# master authorized networks will disallow all external traffic to access
# Kubernetes master through HTTPS except traffic from the given CIDR blocks,
@ -1192,7 +1190,6 @@ module Google
end
end
# Master authorized networks is a Beta feature.
# Configuration options for the master authorized networks feature. Enabled
# master authorized networks will disallow all external traffic to access
# Kubernetes master through HTTPS except traffic from the given CIDR blocks,

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/
module DeploymentmanagerAlpha
VERSION = 'Alpha'
REVISION = '20180323'
REVISION = '20180503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -188,7 +188,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
# authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google account.
# For example, `alice@gmail.com` or `joe@example.com`.
# For example, `alice@gmail.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. For
@ -905,6 +905,56 @@ module Google
end
end
#
class GlobalSetPolicyRequest
include Google::Apis::Core::Hashable
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
# policy' to specify bindings.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Binding>]
attr_accessor :bindings
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
# policy' to specify the etag.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# 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.
# **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] `
# **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
# For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::DeploymentmanagerAlpha::Policy]
attr_accessor :policy
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bindings = args[:bindings] if args.key?(:bindings)
@etag = args[:etag] if args.key?(:etag)
@policy = args[:policy] if args.key?(:policy)
end
end
#
class ImportFile
include Google::Apis::Core::Hashable
@ -1239,7 +1289,8 @@ module Google
class Operation
include Google::Apis::Core::Hashable
# [Output Only] Reserved for future use.
# [Output Only] The value of `requestId` if you provided it in the request. Not
# present otherwise.
# Corresponds to the JSON property `clientOperationId`
# @return [String]
attr_accessor :client_operation_id
@ -1594,15 +1645,19 @@ 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 `
# 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.
# **Example**
# **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] `
# **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
# For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs).
class Policy

View File

@ -166,6 +166,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GlobalSetPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ImportFile
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -673,6 +679,17 @@ module Google
end
end
class GlobalSetPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bindings, as: 'bindings', class: Google::Apis::DeploymentmanagerAlpha::Binding, decorator: Google::Apis::DeploymentmanagerAlpha::Binding::Representation
property :etag, :base64 => true, as: 'etag'
property :policy, as: 'policy', class: Google::Apis::DeploymentmanagerAlpha::Policy, decorator: Google::Apis::DeploymentmanagerAlpha::Policy::Representation
end
end
class ImportFile
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -643,7 +643,7 @@ module Google
# Project ID for this request.
# @param [String] resource
# Name of the resource for this request.
# @param [Google::Apis::DeploymentmanagerAlpha::Policy] policy_object
# @param [Google::Apis::DeploymentmanagerAlpha::GlobalSetPolicyRequest] global_set_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -663,10 +663,10 @@ 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 set_deployment_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/deployments/{resource}/setIamPolicy', options)
command.request_representation = Google::Apis::DeploymentmanagerAlpha::Policy::Representation
command.request_object = policy_object
command.request_representation = Google::Apis::DeploymentmanagerAlpha::GlobalSetPolicyRequest::Representation
command.request_object = global_set_policy_request_object
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Policy::Representation
command.response_class = Google::Apis::DeploymentmanagerAlpha::Policy
command.params['project'] = project unless project.nil?

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/
module DeploymentmanagerV2
VERSION = 'V2'
REVISION = '20180323'
REVISION = '20180503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -138,7 +138,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
# authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google account.
# For example, `alice@gmail.com` or `joe@example.com`.
# For example, `alice@gmail.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. For
@ -551,6 +551,56 @@ module Google
end
end
#
class GlobalSetPolicyRequest
include Google::Apis::Core::Hashable
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
# policy' to specify bindings.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::DeploymentmanagerV2::Binding>]
attr_accessor :bindings
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
# policy' to specify the etag.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# 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.
# **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] `
# **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
# For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::DeploymentmanagerV2::Policy]
attr_accessor :policy
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bindings = args[:bindings] if args.key?(:bindings)
@etag = args[:etag] if args.key?(:etag)
@policy = args[:policy] if args.key?(:policy)
end
end
#
class ImportFile
include Google::Apis::Core::Hashable
@ -802,7 +852,8 @@ module Google
class Operation
include Google::Apis::Core::Hashable
# [Output Only] Reserved for future use.
# [Output Only] The value of `requestId` if you provided it in the request. Not
# present otherwise.
# Corresponds to the JSON property `clientOperationId`
# @return [String]
attr_accessor :client_operation_id
@ -1118,15 +1169,19 @@ 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 `
# 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.
# **Example**
# **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] `
# **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
# For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs).
class Policy

View File

@ -106,6 +106,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GlobalSetPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ImportFile
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -420,6 +426,17 @@ module Google
end
end
class GlobalSetPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bindings, as: 'bindings', class: Google::Apis::DeploymentmanagerV2::Binding, decorator: Google::Apis::DeploymentmanagerV2::Binding::Representation
property :etag, :base64 => true, as: 'etag'
property :policy, as: 'policy', class: Google::Apis::DeploymentmanagerV2::Policy, decorator: Google::Apis::DeploymentmanagerV2::Policy::Representation
end
end
class ImportFile
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -385,7 +385,7 @@ module Google
# Project ID for this request.
# @param [String] resource
# Name of the resource for this request.
# @param [Google::Apis::DeploymentmanagerV2::Policy] policy_object
# @param [Google::Apis::DeploymentmanagerV2::GlobalSetPolicyRequest] global_set_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -405,10 +405,10 @@ 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 set_deployment_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/deployments/{resource}/setIamPolicy', options)
command.request_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation
command.request_object = policy_object
command.request_representation = Google::Apis::DeploymentmanagerV2::GlobalSetPolicyRequest::Representation
command.request_object = global_set_policy_request_object
command.response_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation
command.response_class = Google::Apis::DeploymentmanagerV2::Policy
command.params['project'] = project unless project.nil?

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/deployment-manager/
module DeploymentmanagerV2beta
VERSION = 'V2beta'
REVISION = '20180323'
REVISION = '20180503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -226,7 +226,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
# authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google account.
# For example, `alice@gmail.com` or `joe@example.com`.
# For example, `alice@gmail.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. For
@ -853,6 +853,56 @@ module Google
end
end
#
class GlobalSetPolicyRequest
include Google::Apis::Core::Hashable
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
# policy' to specify bindings.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::DeploymentmanagerV2beta::Binding>]
attr_accessor :bindings
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
# policy' to specify the etag.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# 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.
# **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] `
# **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
# For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::DeploymentmanagerV2beta::Policy]
attr_accessor :policy
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bindings = args[:bindings] if args.key?(:bindings)
@etag = args[:etag] if args.key?(:etag)
@policy = args[:policy] if args.key?(:policy)
end
end
#
class ImportFile
include Google::Apis::Core::Hashable
@ -1142,7 +1192,8 @@ module Google
class Operation
include Google::Apis::Core::Hashable
# [Output Only] Reserved for future use.
# [Output Only] The value of `requestId` if you provided it in the request. Not
# present otherwise.
# Corresponds to the JSON property `clientOperationId`
# @return [String]
attr_accessor :client_operation_id
@ -1501,15 +1552,19 @@ 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 `
# 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.
# **Example**
# **JSON Example**
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] `
# **YAML Example**
# bindings: - members: - user:mike@example.com - group:admins@example.com -
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
# For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam/docs).
class Policy

View File

@ -160,6 +160,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GlobalSetPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ImportFile
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -645,6 +651,17 @@ module Google
end
end
class GlobalSetPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bindings, as: 'bindings', class: Google::Apis::DeploymentmanagerV2beta::Binding, decorator: Google::Apis::DeploymentmanagerV2beta::Binding::Representation
property :etag, :base64 => true, as: 'etag'
property :policy, as: 'policy', class: Google::Apis::DeploymentmanagerV2beta::Policy, decorator: Google::Apis::DeploymentmanagerV2beta::Policy::Representation
end
end
class ImportFile
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -643,7 +643,7 @@ module Google
# Project ID for this request.
# @param [String] resource
# Name of the resource for this request.
# @param [Google::Apis::DeploymentmanagerV2beta::Policy] policy_object
# @param [Google::Apis::DeploymentmanagerV2beta::GlobalSetPolicyRequest] global_set_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -663,10 +663,10 @@ 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 set_deployment_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/deployments/{resource}/setIamPolicy', options)
command.request_representation = Google::Apis::DeploymentmanagerV2beta::Policy::Representation
command.request_object = policy_object
command.request_representation = Google::Apis::DeploymentmanagerV2beta::GlobalSetPolicyRequest::Representation
command.request_object = global_set_policy_request_object
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Policy::Representation
command.response_class = Google::Apis::DeploymentmanagerV2beta::Policy
command.params['project'] = project unless project.nil?

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2
VERSION = 'V2'
REVISION = '20180430'
REVISION = '20180508'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -664,9 +664,11 @@ module Google
class GoogleCloudDialogflowV2ExportAgentRequest
include Google::Apis::Core::Hashable
# Optional. The Google Cloud Storage URI to export the agent to.
# Note: The URI must start with
# "gs://". If left unspecified, the serialized agent is returned inline.
# Optional. The
# [Google Cloud Storage](https://cloud.google.com/storage/docs/)
# URI to export the agent to.
# The format of this URI must be `gs://<bucket-name>/<object-name>`.
# If left unspecified, the serialized agent is returned inline.
# Corresponds to the JSON property `agentUri`
# @return [String]
attr_accessor :agent_uri
@ -2681,8 +2683,8 @@ module Google
# taken into account during inference in `ML ONLY` match mode. Also,
# auto-markup in the UI is turned off.
# DEPRECATED! Please use `ml_disabled` field instead.
# NOTE: If neither `ml_enabled` nor `ml_disabled` field is set, then the
# default value is determined as follows:
# NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false,
# then the default value is determined as follows:
# - Before April 15th, 2018 the default is:
# ml_enabled = false / ml_disabled = true.
# - After April 15th, 2018 the default is:
@ -3110,8 +3112,8 @@ module Google
class GoogleCloudDialogflowV2beta1IntentMessageImage
include Google::Apis::Core::Hashable
# Optional. A text description of the image to be used for accessibility,
# e.g., screen readers.
# A text description of the image to be used for accessibility,
# e.g., screen readers. Required if image_uri is set for CarouselSelect.
# Corresponds to the JSON property `accessibilityText`
# @return [String]
attr_accessor :accessibility_text

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2beta1
VERSION = 'V2beta1'
REVISION = '20180430'
REVISION = '20180508'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2094,9 +2094,11 @@ module Google
class GoogleCloudDialogflowV2beta1ExportAgentRequest
include Google::Apis::Core::Hashable
# Optional. The Google Cloud Storage URI to export the agent to.
# Note: The URI must start with
# "gs://". If left unspecified, the serialized agent is returned inline.
# Optional. The
# [Google Cloud Storage](https://cloud.google.com/storage/docs/)
# URI to export the agent to.
# The format of this URI must be `gs://<bucket-name>/<object-name>`.
# If left unspecified, the serialized agent is returned inline.
# Corresponds to the JSON property `agentUri`
# @return [String]
attr_accessor :agent_uri
@ -2308,8 +2310,8 @@ module Google
# taken into account during inference in `ML ONLY` match mode. Also,
# auto-markup in the UI is turned off.
# DEPRECATED! Please use `ml_disabled` field instead.
# NOTE: If neither `ml_enabled` nor `ml_disabled` field is set, then the
# default value is determined as follows:
# NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false,
# then the default value is determined as follows:
# - Before April 15th, 2018 the default is:
# ml_enabled = false / ml_disabled = true.
# - After April 15th, 2018 the default is:
@ -2756,8 +2758,8 @@ module Google
class GoogleCloudDialogflowV2beta1IntentMessageImage
include Google::Apis::Core::Hashable
# Optional. A text description of the image to be used for accessibility,
# e.g., screen readers.
# A text description of the image to be used for accessibility,
# e.g., screen readers. Required if image_uri is set for CarouselSelect.
# Corresponds to the JSON property `accessibilityText`
# @return [String]
attr_accessor :accessibility_text

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2
VERSION = 'V2'
REVISION = '20180501'
REVISION = '20180507'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -610,7 +610,7 @@ module Google
end
end
# Message representing a path in Cloud Storage.
# Message representing a single file or path in Cloud Storage.
class GooglePrivacyDlpV2CloudStoragePath
include Google::Apis::Core::Hashable
@ -1499,7 +1499,7 @@ module Google
class GooglePrivacyDlpV2Dictionary
include Google::Apis::Core::Hashable
# Message representing a path in Cloud Storage.
# Message representing a single file or path in Cloud Storage.
# Corresponds to the JSON property `cloudStoragePath`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath]
attr_accessor :cloud_storage_path