Autogenerated update (2019-09-27)

Update:
- cloudfunctions_v1
- cloudfunctions_v1beta2
- dataflow_v1b3
- dlp_v2
- drive_v2
- drive_v3
- monitoring_v3
- run_v1
- run_v1alpha1
- runtimeconfig_v1beta1
- translate_v3beta1
This commit is contained in:
Google APIs committed 2019-09-27 00:37:41 +00:00
1 parent 3af076319b
commit ea2db77fee
29 files changed
+1097 -1236

No files matched your search

+62 -141
View File
@@ -1410,45 +1410,6 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
class GoogleRpcStatus
include Google::Apis::Core::Hashable
# The status code, which should be an enum value of google.rpc.Code.
# Corresponds to the JSON property `code`
# @return [Fixnum]
attr_accessor :code
# A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
# Corresponds to the JSON property `details`
# @return [Array<Hash<String,Object>>]
attr_accessor :details
# A developer-facing error message, which should be in English. Any
# user-facing error message should be localized and sent in the
# google.rpc.Status.details field, or localized by the client.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@details = args[:details] if args.key?(:details)
@message = args[:message] if args.key?(:message)
end
end
# HTTPGetAction describes an action based on HTTP Get requests.
class HttpGetAction
include Google::Apis::Core::Hashable
@@ -1751,12 +1712,6 @@ module Google
# @return [Google::Apis::RunV1alpha1::ListMeta]
attr_accessor :metadata
# Details for the regions used during a global call including any failures.
# This is not populated when targeting a specific region.
# Corresponds to the JSON property `regionDetails`
# @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
attr_accessor :region_details
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
@@ -1772,7 +1727,6 @@ module Google
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@region_details = args[:region_details] if args.key?(:region_details)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
@@ -1803,12 +1757,6 @@ module Google
# @return [Google::Apis::RunV1alpha1::ListMeta]
attr_accessor :metadata
# Details for the regions used during a global call including any failures.
# This is not populated when targeting a specific region.
# Corresponds to the JSON property `regionDetails`
# @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
attr_accessor :region_details
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
@@ -1824,7 +1772,6 @@ module Google
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@region_details = args[:region_details] if args.key?(:region_details)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
@@ -1855,12 +1802,6 @@ module Google
# @return [Google::Apis::RunV1alpha1::ListMeta]
attr_accessor :metadata
# Details for the regions used during a global call including any failures.
# This is not populated when targeting a specific region.
# Corresponds to the JSON property `regionDetails`
# @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
attr_accessor :region_details
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
@@ -1876,7 +1817,6 @@ module Google
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@region_details = args[:region_details] if args.key?(:region_details)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
@@ -1983,12 +1923,6 @@ module Google
# @return [Google::Apis::RunV1alpha1::ListMeta]
attr_accessor :metadata
# Details for the regions used during a global call including any failures.
# This is not populated when targeting a specific region.
# Corresponds to the JSON property `regionDetails`
# @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
attr_accessor :region_details
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
@@ -2004,7 +1938,6 @@ module Google
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@region_details = args[:region_details] if args.key?(:region_details)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
@@ -2035,12 +1968,6 @@ module Google
# @return [Google::Apis::RunV1alpha1::ListMeta]
attr_accessor :metadata
# Details for the regions used during a global call including any failures.
# This is not populated when targeting a specific region.
# Corresponds to the JSON property `regionDetails`
# @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
attr_accessor :region_details
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
@@ -2056,7 +1983,6 @@ module Google
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@region_details = args[:region_details] if args.key?(:region_details)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
@@ -2087,12 +2013,6 @@ module Google
# @return [Google::Apis::RunV1alpha1::ListMeta]
attr_accessor :metadata
# Details for the regions used during a global call including any failures.
# This is not populated when targeting a specific region.
# Corresponds to the JSON property `regionDetails`
# @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
attr_accessor :region_details
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
@@ -2108,7 +2028,6 @@ module Google
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@region_details = args[:region_details] if args.key?(:region_details)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
@@ -2139,12 +2058,6 @@ module Google
# @return [Google::Apis::RunV1alpha1::ListMeta]
attr_accessor :metadata
# Details for the regions used during a global call including any failures.
# This is not populated when targeting a specific region.
# Corresponds to the JSON property `regionDetails`
# @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
attr_accessor :region_details
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
@@ -2160,7 +2073,6 @@ module Google
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@region_details = args[:region_details] if args.key?(:region_details)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
@@ -2592,25 +2504,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')",
# `
# `
# ]
# `
@@ -2620,11 +2541,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
@@ -2635,7 +2560,8 @@ module Google
# @return [Array<Google::Apis::RunV1alpha1::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::RunV1alpha1::Binding>]
@@ -2649,7 +2575,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]
@@ -2658,9 +2586,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
@@ -2763,30 +2695,6 @@ module Google
end
end
# Information for a regional call used for a global API.
class RegionDetails
include Google::Apis::Core::Hashable
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
# Corresponds to the JSON property `error`
# @return [Google::Apis::RunV1alpha1::GoogleRpcStatus]
attr_accessor :error
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@error = args[:error] if args.key?(:error)
end
end
# A DNS resource record.
class ResourceRecord
include Google::Apis::Core::Hashable
@@ -4029,25 +3937,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')",
# `
# `
# ]
# `
@@ -4057,11 +3974,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`
@@ -196,12 +196,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleRpcStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpGetAction
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -358,12 +352,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RegionDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourceRecord
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -927,15 +915,6 @@ module Google
end
end
class GoogleRpcStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end
class HttpGetAction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1030,8 +1009,6 @@ module Google
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
collection :unreachable, as: 'unreachable'
end
end
@@ -1045,8 +1022,6 @@ module Google
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
collection :unreachable, as: 'unreachable'
end
end
@@ -1060,8 +1035,6 @@ module Google
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
collection :unreachable, as: 'unreachable'
end
end
@@ -1093,8 +1066,6 @@ module Google
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
collection :unreachable, as: 'unreachable'
end
end
@@ -1108,8 +1079,6 @@ module Google
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
collection :unreachable, as: 'unreachable'
end
end
@@ -1123,8 +1092,6 @@ module Google
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
collection :unreachable, as: 'unreachable'
end
end
@@ -1138,8 +1105,6 @@ module Google
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1alpha1::RegionDetails, decorator: Google::Apis::RunV1alpha1::RegionDetails::Representation
collection :unreachable, as: 'unreachable'
end
end
@@ -1243,14 +1208,6 @@ module Google
end
end
class RegionDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error, as: 'error', class: Google::Apis::RunV1alpha1::GoogleRpcStatus, decorator: Google::Apis::RunV1alpha1::GoogleRpcStatus::Representation
end
end
class ResourceRecord
# @private
class Representation < Google::Apis::Core::JsonRepresentation