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 2019-09-27 00:37:41 +00:00
parent 3af076319b
commit ea2db77fee
29 changed files with 1097 additions and 1236 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/functions
module CloudfunctionsV1
VERSION = 'V1'
REVISION = '20190807'
REVISION = '20190917'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -190,7 +190,7 @@ module Google
class CallFunctionRequest
include Google::Apis::Core::Hashable
# Input to be passed to the function.
# Required. Input to be passed to the function.
# Corresponds to the JSON property `data`
# @return [String]
attr_accessor :data
@ -986,7 +986,12 @@ module Google
# @return [String]
attr_accessor :etag
# Deprecated.
# 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.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version

View File

@ -173,7 +173,7 @@ module Google
# the actual limits, refer to
# [Rate Limits](https://cloud.google.com/functions/quotas#rate_limits).
# @param [String] name
# The name of the function to be called.
# Required. The name of the function to be called.
# @param [Google::Apis::CloudfunctionsV1::CallFunctionRequest] call_function_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -208,7 +208,8 @@ module Google
# the specified project, the long running operation will return
# `ALREADY_EXISTS` error.
# @param [String] location
# The project and location in which the function should be created, specified
# Required. The project and location in which the function should be created,
# specified
# in the format `projects/*/locations/*`
# @param [Google::Apis::CloudfunctionsV1::CloudFunction] cloud_function_object
# @param [String] fields
@ -244,7 +245,7 @@ module Google
# given function is used by some trigger, the trigger will be updated to
# remove this function.
# @param [String] name
# The name of the function which should be deleted.
# Required. The name of the function which should be deleted.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -364,7 +365,7 @@ module Google
# Returns a function with the given name from the requested project.
# @param [String] name
# The name of the function which details should be obtained.
# Required. The name of the function which details should be obtained.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -400,9 +401,11 @@ module Google
# See the operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/functions
module CloudfunctionsV1beta2
VERSION = 'V1beta2'
REVISION = '20190807'
REVISION = '20190917'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
class CallFunctionRequest
include Google::Apis::Core::Hashable
# Input to be passed to the function.
# Required. Input to be passed to the function.
# Corresponds to the JSON property `data`
# @return [String]
attr_accessor :data

View File

@ -173,7 +173,7 @@ module Google
# the actual limits refer to [API Calls](
# https://cloud.google.com/functions/quotas#rate_limits).
# @param [String] name
# The name of the function to be called.
# Required. The name of the function to be called.
# @param [Google::Apis::CloudfunctionsV1beta2::CallFunctionRequest] call_function_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -208,7 +208,8 @@ module Google
# the specified project, the long running operation will return
# `ALREADY_EXISTS` error.
# @param [String] location
# The project and location in which the function should be created, specified
# Required. The project and location in which the function should be created,
# specified
# in the format `projects/*/locations/*`
# @param [Google::Apis::CloudfunctionsV1beta2::CloudFunction] cloud_function_object
# @param [String] fields
@ -244,7 +245,7 @@ module Google
# given function is used by some trigger, the trigger will be updated to
# remove this function.
# @param [String] name
# The name of the function which should be deleted.
# Required. The name of the function which should be deleted.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -364,7 +365,7 @@ module Google
# Returns a function with the given name from the requested project.
# @param [String] name
# The name of the function which details should be obtained.
# Required. The name of the function which details should be obtained.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -394,7 +395,7 @@ module Google
# Returns a list of functions that belong to the requested project.
# @param [String] location
# The project and location from which the function should be listed,
# Required. The project and location from which the function should be listed,
# specified in the format `projects/*/locations/*`
# If you want to list functions in all locations, use "-" in place of a
# location.
@ -436,7 +437,7 @@ module Google
# Updates existing function.
# @param [String] name
# The name of the function to be updated.
# Required. The name of the function to be updated.
# @param [Google::Apis::CloudfunctionsV1beta2::CloudFunction] cloud_function_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataflow
module DataflowV1b3
VERSION = 'V1b3'
REVISION = '20190827'
REVISION = '20190917'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1186,6 +1186,24 @@ module Google
# @return [Array<Google::Apis::DataflowV1b3::WorkerPool>]
attr_accessor :worker_pools
# The Compute Engine region
# (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
# which worker processing should occur, e.g. "us-west1". Mutually exclusive
# with worker_zone. If neither worker_region nor worker_zone is specified,
# default to the control plane's region.
# Corresponds to the JSON property `workerRegion`
# @return [String]
attr_accessor :worker_region
# The Compute Engine zone
# (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
# which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
# with worker_region. If neither worker_region nor worker_zone is specified,
# a zone in the control plane's region is chosen based on available capacity.
# Corresponds to the JSON property `workerZone`
# @return [String]
attr_accessor :worker_zone
def initialize(**args)
update!(**args)
end
@ -1204,6 +1222,8 @@ module Google
@user_agent = args[:user_agent] if args.key?(:user_agent)
@version = args[:version] if args.key?(:version)
@worker_pools = args[:worker_pools] if args.key?(:worker_pools)
@worker_region = args[:worker_region] if args.key?(:worker_region)
@worker_zone = args[:worker_zone] if args.key?(:worker_zone)
end
end
@ -3368,9 +3388,29 @@ module Google
attr_accessor :use_private_ips
alias_method :use_private_ips?, :use_private_ips
# The Compute Engine region
# (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
# which worker processing should occur, e.g. "us-west1". Mutually exclusive
# with worker_zone. If neither worker_region nor worker_zone is specified,
# default to the control plane's region.
# Corresponds to the JSON property `workerRegion`
# @return [String]
attr_accessor :worker_region
# The Compute Engine zone
# (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
# which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
# with worker_region. If neither worker_region nor worker_zone is specified,
# a zone in the control plane's region is chosen based on available capacity.
# If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.
# Corresponds to the JSON property `workerZone`
# @return [String]
attr_accessor :worker_zone
# The Compute Engine [availability
# zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones)
# for launching worker instances to run your pipeline.
# In the future, worker_zone will take precedence.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
@ -3393,6 +3433,8 @@ module Google
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@temp_location = args[:temp_location] if args.key?(:temp_location)
@use_private_ips = args[:use_private_ips] if args.key?(:use_private_ips)
@worker_region = args[:worker_region] if args.key?(:worker_region)
@worker_zone = args[:worker_zone] if args.key?(:worker_zone)
@zone = args[:zone] if args.key?(:zone)
end
end

View File

@ -1156,6 +1156,8 @@ module Google
hash :version, as: 'version'
collection :worker_pools, as: 'workerPools', class: Google::Apis::DataflowV1b3::WorkerPool, decorator: Google::Apis::DataflowV1b3::WorkerPool::Representation
property :worker_region, as: 'workerRegion'
property :worker_zone, as: 'workerZone'
end
end
@ -1743,6 +1745,8 @@ module Google
property :subnetwork, as: 'subnetwork'
property :temp_location, as: 'tempLocation'
property :use_private_ips, as: 'usePrivateIps'
property :worker_region, as: 'workerRegion'
property :worker_zone, as: 'workerZone'
property :zone, as: 'zone'
end
end

View File

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

View File

@ -2810,10 +2810,9 @@ module Google
# When no InfoTypes or CustomInfoTypes are specified in a request, the
# system may automatically choose what detectors to run. By default this may
# be all types, but may change over time as detectors are updated.
# The special InfoType name "ALL_BASIC" can be used to trigger all detectors,
# but may change over time as new InfoTypes are added. If you need precise
# control and predictability as to what detectors are run you should specify
# specific InfoTypes listed in the reference.
# If you need precise control and predictability as to what detectors are
# run you should specify specific InfoTypes listed in the reference,
# otherwise a default list will be used, which may change over time.
# Corresponds to the JSON property `infoTypes`
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
attr_accessor :info_types

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
REVISION = '20190822'
REVISION = '20190919'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -1844,8 +1844,8 @@ module Google
# @return [String]
attr_accessor :full_file_extension
# Whether any users are granted file access directly on this file. This field is
# only populated for items in shared drives.
# Whether there are permissions directly on this file. This field is only
# populated for items in shared drives.
# Corresponds to the JSON property `hasAugmentedPermissions`
# @return [Boolean]
attr_accessor :has_augmented_permissions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV3
VERSION = 'V3'
REVISION = '20190822'
REVISION = '20190919'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -1030,8 +1030,8 @@ module Google
# @return [String]
attr_accessor :full_file_extension
# Whether any users are granted file access directly on this file. This field is
# only populated for shared drive files.
# Whether there are permissions directly on this file. This field is only
# populated for items in shared drives.
# Corresponds to the JSON property `hasAugmentedPermissions`
# @return [Boolean]
attr_accessor :has_augmented_permissions

View File

@ -30,7 +30,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV3
VERSION = 'V3'
REVISION = '20190915'
REVISION = '20190923'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1723,6 +1723,14 @@ module Google
# @return [String]
attr_accessor :metric_kind
# Read-only. If present, then a time series, which is identified partially by a
# metric type and a MonitoredResourceDescriptor, that is associated with this
# metric type can only be associated with one of the monitored resource types
# listed here.
# Corresponds to the JSON property `monitoredResourceTypes`
# @return [Array<String>]
attr_accessor :monitored_resource_types
# The resource name of the metric descriptor.
# Corresponds to the JSON property `name`
# @return [String]
@ -1809,6 +1817,7 @@ module Google
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
@metadata = args[:metadata] if args.key?(:metadata)
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
@monitored_resource_types = args[:monitored_resource_types] if args.key?(:monitored_resource_types)
@name = args[:name] if args.key?(:name)
@type = args[:type] if args.key?(:type)
@unit = args[:unit] if args.key?(:unit)
@ -1827,8 +1836,7 @@ module Google
# @return [String]
attr_accessor :ingest_delay
# Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch
# stage of the metric definition.
# Deprecated. Must use the MetricDescriptor.launch_stage instead.
# Corresponds to the JSON property `launchStage`
# @return [String]
attr_accessor :launch_stage
@ -1891,7 +1899,7 @@ module Google
# A filter that identifies a time series that should be used as the denominator
# of a ratio that will be compared with the threshold. If a denominator_filter
# is specified, the time series specified by the filter field will be used as
# the numerator.The filter and must specify the metric type and optionally may
# the numerator.The filter must specify the metric type and optionally may
# contain restrictions on resource type, resource labels, and metric labels.
# This field may not exceed 2048 Unicode characters in length.
# Corresponds to the JSON property `denominatorFilter`

View File

@ -837,6 +837,7 @@ module Google
property :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::MetricDescriptorMetadata, decorator: Google::Apis::MonitoringV3::MetricDescriptorMetadata::Representation
property :metric_kind, as: 'metricKind'
collection :monitored_resource_types, as: 'monitoredResourceTypes'
property :name, as: 'name'
property :type, as: 'type'
property :unit, as: 'unit'

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -172,12 +172,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
@ -202,42 +196,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class K8sIoApimachineryPkgApisMetaV1ListMeta
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class K8sIoApimachineryPkgApisMetaV1ObjectMeta
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class K8sIoApimachineryPkgApisMetaV1OwnerReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class K8sIoApimachineryPkgApisMetaV1Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class K8sIoApimachineryPkgApisMetaV1StatusCause
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class K8sIoApimachineryPkgApisMetaV1StatusDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class KeyToPath
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -274,6 +232,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListMeta
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListRevisionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -304,6 +268,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ObjectMeta
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OwnerReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -316,12 +292,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
@ -424,6 +394,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StatusCause
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StatusDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TcpSocketAction
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -497,7 +485,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1::AutoDomainMappingSpec, decorator: Google::Apis::RunV1::AutoDomainMappingSpec::Representation
@ -573,7 +561,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1::ConfigurationSpec, decorator: Google::Apis::RunV1::ConfigurationSpec::Representation
@ -645,7 +633,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1::DomainMappingSpec, decorator: Google::Apis::RunV1::DomainMappingSpec::Representation
@ -735,15 +723,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
@ -784,85 +763,6 @@ module Google
end
end
class K8sIoApimachineryPkgApisMetaV1ListMeta
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :continue, as: 'continue'
property :resource_version, as: 'resourceVersion'
property :self_link, as: 'selfLink'
end
end
class K8sIoApimachineryPkgApisMetaV1ObjectMeta
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :annotations, as: 'annotations'
property :cluster_name, as: 'clusterName'
property :creation_timestamp, as: 'creationTimestamp'
property :deletion_grace_period_seconds, as: 'deletionGracePeriodSeconds'
property :deletion_timestamp, as: 'deletionTimestamp'
collection :finalizers, as: 'finalizers'
property :generate_name, as: 'generateName'
property :generation, as: 'generation'
hash :labels, as: 'labels'
property :name, as: 'name'
property :namespace, as: 'namespace'
collection :owner_references, as: 'ownerReferences', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1OwnerReference, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1OwnerReference::Representation
property :resource_version, as: 'resourceVersion'
property :self_link, as: 'selfLink'
property :uid, as: 'uid'
end
end
class K8sIoApimachineryPkgApisMetaV1OwnerReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :block_owner_deletion, as: 'blockOwnerDeletion'
property :controller, as: 'controller'
property :kind, as: 'kind'
property :name, as: 'name'
property :uid, as: 'uid'
end
end
class K8sIoApimachineryPkgApisMetaV1Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :details, as: 'details', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1StatusDetails, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1StatusDetails::Representation
property :message, as: 'message'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta::Representation
property :reason, as: 'reason'
property :status, as: 'status'
end
end
class K8sIoApimachineryPkgApisMetaV1StatusCause
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :field, as: 'field'
property :message, as: 'message'
property :reason, as: 'reason'
end
end
class K8sIoApimachineryPkgApisMetaV1StatusDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :causes, as: 'causes', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1StatusCause, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1StatusCause::Representation
property :group, as: 'group'
property :kind, as: 'kind'
property :name, as: 'name'
property :retry_after_seconds, as: 'retryAfterSeconds'
property :uid, as: 'uid'
end
end
class KeyToPath
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -888,9 +788,7 @@ module Google
collection :items, as: 'items', class: Google::Apis::RunV1::AutoDomainMapping, decorator: Google::Apis::RunV1::AutoDomainMapping::Representation
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1::RegionDetails, decorator: Google::Apis::RunV1::RegionDetails::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
collection :unreachable, as: 'unreachable'
end
@ -903,9 +801,7 @@ module Google
collection :items, as: 'items', class: Google::Apis::RunV1::Configuration, decorator: Google::Apis::RunV1::Configuration::Representation
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1::RegionDetails, decorator: Google::Apis::RunV1::RegionDetails::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
collection :unreachable, as: 'unreachable'
end
@ -918,9 +814,7 @@ module Google
collection :items, as: 'items', class: Google::Apis::RunV1::DomainMapping, decorator: Google::Apis::RunV1::DomainMapping::Representation
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1::RegionDetails, decorator: Google::Apis::RunV1::RegionDetails::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
collection :unreachable, as: 'unreachable'
end
@ -935,6 +829,15 @@ module Google
end
end
class ListMeta
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :continue, as: 'continue'
property :resource_version, as: 'resourceVersion'
property :self_link, as: 'selfLink'
end
end
class ListRevisionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -942,9 +845,7 @@ module Google
collection :items, as: 'items', class: Google::Apis::RunV1::Revision, decorator: Google::Apis::RunV1::Revision::Representation
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1::RegionDetails, decorator: Google::Apis::RunV1::RegionDetails::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
collection :unreachable, as: 'unreachable'
end
@ -957,9 +858,7 @@ module Google
collection :items, as: 'items', class: Google::Apis::RunV1::Route, decorator: Google::Apis::RunV1::Route::Representation
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1::RegionDetails, decorator: Google::Apis::RunV1::RegionDetails::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
collection :unreachable, as: 'unreachable'
end
@ -972,9 +871,7 @@ module Google
collection :items, as: 'items', class: Google::Apis::RunV1::Service, decorator: Google::Apis::RunV1::Service::Representation
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ListMeta::Representation
hash :region_details, as: 'regionDetails', class: Google::Apis::RunV1::RegionDetails, decorator: Google::Apis::RunV1::RegionDetails::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
collection :unreachable, as: 'unreachable'
end
@ -998,6 +895,40 @@ module Google
end
end
class ObjectMeta
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :annotations, as: 'annotations'
property :cluster_name, as: 'clusterName'
property :creation_timestamp, as: 'creationTimestamp'
property :deletion_grace_period_seconds, as: 'deletionGracePeriodSeconds'
property :deletion_timestamp, as: 'deletionTimestamp'
collection :finalizers, as: 'finalizers'
property :generate_name, as: 'generateName'
property :generation, as: 'generation'
hash :labels, as: 'labels'
property :name, as: 'name'
property :namespace, as: 'namespace'
collection :owner_references, as: 'ownerReferences', class: Google::Apis::RunV1::OwnerReference, decorator: Google::Apis::RunV1::OwnerReference::Representation
property :resource_version, as: 'resourceVersion'
property :self_link, as: 'selfLink'
property :uid, as: 'uid'
end
end
class OwnerReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :block_owner_deletion, as: 'blockOwnerDeletion'
property :controller, as: 'controller'
property :kind, as: 'kind'
property :name, as: 'name'
property :uid, as: 'uid'
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1023,14 +954,6 @@ module Google
end
end
class RegionDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error, as: 'error', class: Google::Apis::RunV1::GoogleRpcStatus, decorator: Google::Apis::RunV1::GoogleRpcStatus::Representation
end
end
class ResourceRecord
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1053,7 +976,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1::RevisionSpec, decorator: Google::Apis::RunV1::RevisionSpec::Representation
@ -1090,7 +1013,7 @@ module Google
class RevisionTemplate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1::RevisionSpec, decorator: Google::Apis::RunV1::RevisionSpec::Representation
@ -1102,7 +1025,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1::RouteSpec, decorator: Google::Apis::RunV1::RouteSpec::Representation
@ -1177,7 +1100,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta, decorator: Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1ObjectMeta::Representation
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1::ServiceSpec, decorator: Google::Apis::RunV1::ServiceSpec::Representation
@ -1221,6 +1144,42 @@ module Google
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :details, as: 'details', class: Google::Apis::RunV1::StatusDetails, decorator: Google::Apis::RunV1::StatusDetails::Representation
property :message, as: 'message'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
property :reason, as: 'reason'
property :status, as: 'status'
end
end
class StatusCause
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :field, as: 'field'
property :message, as: 'message'
property :reason, as: 'reason'
end
end
class StatusDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :causes, as: 'causes', class: Google::Apis::RunV1::StatusCause, decorator: Google::Apis::RunV1::StatusCause::Representation
property :group, as: 'group'
property :kind, as: 'kind'
property :name, as: 'name'
property :retry_after_seconds, as: 'retryAfterSeconds'
property :uid, as: 'uid'
end
end
class TcpSocketAction
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -140,18 +140,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_namespace_autodomainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -347,18 +347,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_namespace_configuration(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -551,18 +551,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_namespace_domainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -721,18 +721,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_namespace_revision(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -885,18 +885,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_namespace_route(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -1089,18 +1089,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_namespace_service(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -1397,18 +1397,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_project_location_autodomainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -1604,18 +1604,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_project_location_configuration(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -1808,18 +1808,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_project_location_domainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -1978,18 +1978,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_project_location_revision(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -2142,18 +2142,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_project_location_route(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?
@ -2346,18 +2346,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status] parsed result object
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status]
# @return [Google::Apis::RunV1::Status]
#
# @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 delete_project_location_service(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status::Representation
command.response_class = Google::Apis::RunV1::K8sIoApimachineryPkgApisMetaV1Status
command.response_representation = Google::Apis::RunV1::Status::Representation
command.response_class = Google::Apis::RunV1::Status
command.params['name'] = name unless name.nil?
command.query['apiVersion'] = api_version unless api_version.nil?
command.query['kind'] = kind unless kind.nil?

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/
module RunV1alpha1
VERSION = 'V1alpha1'
REVISION = '20190916'
REVISION = '20190920'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

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`

View File

@ -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

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
module RuntimeconfigV1beta1
VERSION = 'V1beta1'
REVISION = '20190826'
REVISION = '20190923'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -360,25 +360,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')",
# `
# `
# ]
# `
@ -388,17 +397,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::RuntimeconfigV1beta1::Binding>]
@ -412,7 +426,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]
@ -421,9 +437,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
@ -481,25 +501,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')",
# `
# `
# ]
# `
@ -509,11 +538,15 @@ module Google
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin
# - members:
# - user:sean@example.com
# role: roles/viewer
# - user:eve@example.com
# role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/translate/docs/quickstarts
module TranslateV3beta1
VERSION = 'V3beta1'
REVISION = '20190906'
REVISION = '20190920'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -45,7 +45,7 @@ module Google
# (Unicode codepoints), can only contain lowercase letters, numeric
# characters, underscores and dashes. International characters are allowed.
# Label values are optional. Label keys must start with a letter.
# See https://goo.gl/xmQnxf for more information on and examples of labels.
# See https://cloud.google.com/translate/docs/labels for more information.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
@ -123,7 +123,7 @@ module Google
# (Unicode codepoints), can only contain lowercase letters, numeric
# characters, underscores and dashes. International characters are allowed.
# Label values are optional. Label keys must start with a letter.
# See https://goo.gl/xmQnxf for more information on and examples of labels.
# See https://cloud.google.com/translate/docs/labels for more information.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
@ -776,7 +776,7 @@ module Google
# (Unicode codepoints), can only contain lowercase letters, numeric
# characters, underscores and dashes. International characters are allowed.
# Label values are optional. Label keys must start with a letter.
# See https://goo.gl/xmQnxf for more information on and examples of labels.
# See https://cloud.google.com/translate/docs/labels for more information.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels