Autogenerated update (2020-06-07)

Update:
- dataproc_v1
- dataproc_v1beta2
- file_v1
- file_v1beta1
- servicecontrol_v1
This commit is contained in:
Google APIs 2020-06-07 00:37:58 +00:00
parent f985ab7c4a
commit 7d025814af
12 changed files with 138 additions and 3126 deletions

View File

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

View File

@ -175,11 +175,12 @@ module Google
# @return [String]
attr_accessor :graceful_decommission_timeout
# Required. Fraction of average pending memory in the last cooldown period for
# which to remove workers. A scale-down factor of 1 will result in scaling down
# so that there is no available memory remaining after the update (more
# Required. Fraction of average YARN pending memory in the last cooldown period
# for which to remove workers. A scale-down factor of 1 will result in scaling
# down so that there is no available memory remaining after the update (more
# aggressive scaling). A scale-down factor of 0 disables removing workers, which
# can be beneficial for autoscaling a single job.Bounds: 0.0, 1.0.
# can be beneficial for autoscaling a single job. See How autoscaling works for
# more information.Bounds: 0.0, 1.0.
# Corresponds to the JSON property `scaleDownFactor`
# @return [Float]
attr_accessor :scale_down_factor
@ -193,11 +194,12 @@ module Google
# @return [Float]
attr_accessor :scale_down_min_worker_fraction
# Required. Fraction of average pending memory in the last cooldown period for
# which to add workers. A scale-up factor of 1.0 will result in scaling up so
# that there is no pending memory remaining after the update (more aggressive
# Required. Fraction of average YARN pending memory in the last cooldown period
# for which to add workers. A scale-up factor of 1.0 will result in scaling up
# so that there is no pending memory remaining after the update (more aggressive
# scaling). A scale-up factor closer to 0 will result in a smaller magnitude of
# scaling up (less aggressive scaling).Bounds: 0.0, 1.0.
# scaling up (less aggressive scaling). See How autoscaling works for more
# information.Bounds: 0.0, 1.0.
# Corresponds to the JSON property `scaleUpFactor`
# @return [Float]
attr_accessor :scale_up_factor
@ -2528,8 +2530,8 @@ module Google
class PySparkJob
include Google::Apis::Core::Hashable
# Optional. HCFS URIs of archives to be extracted in the working directory of .
# jar, .tar, .tar.gz, .tgz, and .zip.
# Optional. HCFS URIs of archives to be extracted into the working directory of
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
# Corresponds to the JSON property `archiveUris`
# @return [Array<String>]
attr_accessor :archive_uris
@ -2541,8 +2543,8 @@ module Google
# @return [Array<String>]
attr_accessor :args
# Optional. HCFS URIs of files to be copied to the working directory of Python
# drivers and distributed tasks. Useful for naively parallel tasks.
# Optional. HCFS URIs of files to be placed in the working directory of each
# executor. Useful for naively parallel tasks.
# Corresponds to the JSON property `fileUris`
# @return [Array<String>]
attr_accessor :file_uris
@ -2825,9 +2827,8 @@ module Google
class SparkJob
include Google::Apis::Core::Hashable
# Optional. HCFS URIs of archives to be extracted in the working directory of
# Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .
# zip.
# Optional. HCFS URIs of archives to be extracted into the working directory of
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
# Corresponds to the JSON property `archiveUris`
# @return [Array<String>]
attr_accessor :archive_uris
@ -2839,8 +2840,8 @@ module Google
# @return [Array<String>]
attr_accessor :args
# Optional. HCFS URIs of files to be copied to the working directory of Spark
# drivers and distributed tasks. Useful for naively parallel tasks.
# Optional. HCFS URIs of files to be placed in the working directory of each
# executor. Useful for naively parallel tasks.
# Corresponds to the JSON property `fileUris`
# @return [Array<String>]
attr_accessor :file_uris
@ -2897,9 +2898,8 @@ module Google
class SparkRJob
include Google::Apis::Core::Hashable
# Optional. HCFS URIs of archives to be extracted in the working directory of
# Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .
# zip.
# Optional. HCFS URIs of archives to be extracted into the working directory of
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
# Corresponds to the JSON property `archiveUris`
# @return [Array<String>]
attr_accessor :archive_uris
@ -2911,8 +2911,8 @@ module Google
# @return [Array<String>]
attr_accessor :args
# Optional. HCFS URIs of files to be copied to the working directory of R
# drivers and distributed tasks. Useful for naively parallel tasks.
# Optional. HCFS URIs of files to be placed in the working directory of each
# executor. Useful for naively parallel tasks.
# Corresponds to the JSON property `fileUris`
# @return [Array<String>]
attr_accessor :file_uris

View File

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

View File

@ -175,11 +175,12 @@ module Google
# @return [String]
attr_accessor :graceful_decommission_timeout
# Required. Fraction of average pending memory in the last cooldown period for
# which to remove workers. A scale-down factor of 1 will result in scaling down
# so that there is no available memory remaining after the update (more
# Required. Fraction of average YARN pending memory in the last cooldown period
# for which to remove workers. A scale-down factor of 1 will result in scaling
# down so that there is no available memory remaining after the update (more
# aggressive scaling). A scale-down factor of 0 disables removing workers, which
# can be beneficial for autoscaling a single job.Bounds: 0.0, 1.0.
# can be beneficial for autoscaling a single job. See How autoscaling works for
# more information.Bounds: 0.0, 1.0.
# Corresponds to the JSON property `scaleDownFactor`
# @return [Float]
attr_accessor :scale_down_factor
@ -193,11 +194,12 @@ module Google
# @return [Float]
attr_accessor :scale_down_min_worker_fraction
# Required. Fraction of average pending memory in the last cooldown period for
# which to add workers. A scale-up factor of 1.0 will result in scaling up so
# that there is no pending memory remaining after the update (more aggressive
# Required. Fraction of average YARN pending memory in the last cooldown period
# for which to add workers. A scale-up factor of 1.0 will result in scaling up
# so that there is no pending memory remaining after the update (more aggressive
# scaling). A scale-up factor closer to 0 will result in a smaller magnitude of
# scaling up (less aggressive scaling).Bounds: 0.0, 1.0.
# scaling up (less aggressive scaling). See How autoscaling works for more
# information.Bounds: 0.0, 1.0.
# Corresponds to the JSON property `scaleUpFactor`
# @return [Float]
attr_accessor :scale_up_factor
@ -2632,8 +2634,8 @@ module Google
class PySparkJob
include Google::Apis::Core::Hashable
# Optional. HCFS URIs of archives to be extracted in the working directory of .
# jar, .tar, .tar.gz, .tgz, and .zip.
# Optional. HCFS URIs of archives to be extracted into the working directory of
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
# Corresponds to the JSON property `archiveUris`
# @return [Array<String>]
attr_accessor :archive_uris
@ -2645,8 +2647,8 @@ module Google
# @return [Array<String>]
attr_accessor :args
# Optional. HCFS URIs of files to be copied to the working directory of Python
# drivers and distributed tasks. Useful for naively parallel tasks.
# Optional. HCFS URIs of files to be placed in the working directory of each
# executor. Useful for naively parallel tasks.
# Corresponds to the JSON property `fileUris`
# @return [Array<String>]
attr_accessor :file_uris
@ -2932,9 +2934,8 @@ module Google
class SparkJob
include Google::Apis::Core::Hashable
# Optional. HCFS URIs of archives to be extracted in the working directory of
# Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .
# zip.
# Optional. HCFS URIs of archives to be extracted into the working directory of
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
# Corresponds to the JSON property `archiveUris`
# @return [Array<String>]
attr_accessor :archive_uris
@ -2946,8 +2947,8 @@ module Google
# @return [Array<String>]
attr_accessor :args
# Optional. HCFS URIs of files to be copied to the working directory of Spark
# drivers and distributed tasks. Useful for naively parallel tasks.
# Optional. HCFS URIs of files to be placed in the working directory of each
# executor. Useful for naively parallel tasks.
# Corresponds to the JSON property `fileUris`
# @return [Array<String>]
attr_accessor :file_uris
@ -3004,9 +3005,8 @@ module Google
class SparkRJob
include Google::Apis::Core::Hashable
# Optional. HCFS URIs of archives to be extracted in the working directory of
# Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .
# zip.
# Optional. HCFS URIs of archives to be extracted into the working directory of
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
# Corresponds to the JSON property `archiveUris`
# @return [Array<String>]
attr_accessor :archive_uris
@ -3018,8 +3018,8 @@ module Google
# @return [Array<String>]
attr_accessor :args
# Optional. HCFS URIs of files to be copied to the working directory of R
# drivers and distributed tasks. Useful for naively parallel tasks.
# Optional. HCFS URIs of files to be placed in the working directory of each
# executor. Useful for naively parallel tasks.
# Corresponds to the JSON property `fileUris`
# @return [Array<String>]
attr_accessor :file_uris
@ -3528,7 +3528,7 @@ module Google
end
end
# A Dataproc workflow template resource.
# A Dataproc workflow template resource. Next ID: 11
class WorkflowTemplate
include Google::Apis::Core::Hashable

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/filestore/
module FileV1
VERSION = 'V1'
REVISION = '20200520'
REVISION = '20200602'
# 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

@ -22,72 +22,24 @@ module Google
module Apis
module FileV1
class AttributeValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Attributes
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BillingView
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CancelOperationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Distribution
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Exemplar
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExplicitBuckets
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExponentialBuckets
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FileShareConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleApiServicecontrolV1Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -136,24 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class HttpRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LinearBuckets
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListInstancesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -178,42 +118,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LogEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogEntryOperation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogEntrySourceLocation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MetricValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MetricValueSet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Money
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -232,126 +136,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class QuotaProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReportRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TraceSpan
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TruncatableString
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AttributeValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bool_value, as: 'boolValue'
property :int_value, :numeric_string => true, as: 'intValue'
property :string_value, as: 'stringValue', class: Google::Apis::FileV1::TruncatableString, decorator: Google::Apis::FileV1::TruncatableString::Representation
end
end
class Attributes
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :attribute_map, as: 'attributeMap', class: Google::Apis::FileV1::AttributeValue, decorator: Google::Apis::FileV1::AttributeValue::Representation
property :dropped_attributes_count, as: 'droppedAttributesCount'
end
end
class BillingView
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :report_requests, as: 'reportRequests', class: Google::Apis::FileV1::ReportRequest, decorator: Google::Apis::FileV1::ReportRequest::Representation
end
end
class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Distribution
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bucket_counts, as: 'bucketCounts'
property :count, :numeric_string => true, as: 'count'
collection :exemplars, as: 'exemplars', class: Google::Apis::FileV1::Exemplar, decorator: Google::Apis::FileV1::Exemplar::Representation
property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::FileV1::ExplicitBuckets, decorator: Google::Apis::FileV1::ExplicitBuckets::Representation
property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::FileV1::ExponentialBuckets, decorator: Google::Apis::FileV1::ExponentialBuckets::Representation
property :linear_buckets, as: 'linearBuckets', class: Google::Apis::FileV1::LinearBuckets, decorator: Google::Apis::FileV1::LinearBuckets::Representation
property :maximum, as: 'maximum'
property :mean, as: 'mean'
property :minimum, as: 'minimum'
property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Exemplar
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :attachments, as: 'attachments'
property :timestamp, as: 'timestamp'
property :value, as: 'value'
end
end
class ExplicitBuckets
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bounds, as: 'bounds'
end
end
class ExponentialBuckets
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :growth_factor, as: 'growthFactor'
property :num_finite_buckets, as: 'numFiniteBuckets'
property :scale, as: 'scale'
end
end
class FileShareConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -360,30 +162,6 @@ module Google
end
end
class GoogleApiServicecontrolV1Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consumer_id, as: 'consumerId'
property :end_time, as: 'endTime'
property :importance, as: 'importance'
hash :labels, as: 'labels'
collection :log_entries, as: 'logEntries', class: Google::Apis::FileV1::LogEntry, decorator: Google::Apis::FileV1::LogEntry::Representation
collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::FileV1::MetricValueSet, decorator: Google::Apis::FileV1::MetricValueSet::Representation
property :operation_id, as: 'operationId'
property :operation_name, as: 'operationName'
property :quota_properties, as: 'quotaProperties', class: Google::Apis::FileV1::QuotaProperties, decorator: Google::Apis::FileV1::QuotaProperties::Representation
collection :resources, as: 'resources', class: Google::Apis::FileV1::ResourceInfo, decorator: Google::Apis::FileV1::ResourceInfo::Representation
property :start_time, as: 'startTime'
collection :trace_spans, as: 'traceSpans', class: Google::Apis::FileV1::TraceSpan, decorator: Google::Apis::FileV1::TraceSpan::Representation
hash :user_labels, as: 'userLabels'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -475,27 +253,6 @@ module Google
end
end
class HttpRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes'
property :cache_hit, as: 'cacheHit'
property :cache_lookup, as: 'cacheLookup'
property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
property :latency, as: 'latency'
property :protocol, as: 'protocol'
property :referer, as: 'referer'
property :remote_ip, as: 'remoteIp'
property :request_method, as: 'requestMethod'
property :request_size, :numeric_string => true, as: 'requestSize'
property :request_url, as: 'requestUrl'
property :response_size, :numeric_string => true, as: 'responseSize'
property :server_ip, as: 'serverIp'
property :status, as: 'status'
property :user_agent, as: 'userAgent'
end
end
class Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -514,15 +271,6 @@ module Google
end
end
class LinearBuckets
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :num_finite_buckets, as: 'numFiniteBuckets'
property :offset, as: 'offset'
property :width, as: 'width'
end
end
class ListInstancesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -562,81 +310,6 @@ module Google
end
end
class LogEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :http_request, as: 'httpRequest', class: Google::Apis::FileV1::HttpRequest, decorator: Google::Apis::FileV1::HttpRequest::Representation
property :insert_id, as: 'insertId'
hash :labels, as: 'labels'
property :name, as: 'name'
property :operation, as: 'operation', class: Google::Apis::FileV1::LogEntryOperation, decorator: Google::Apis::FileV1::LogEntryOperation::Representation
hash :proto_payload, as: 'protoPayload'
property :severity, as: 'severity'
property :source_location, as: 'sourceLocation', class: Google::Apis::FileV1::LogEntrySourceLocation, decorator: Google::Apis::FileV1::LogEntrySourceLocation::Representation
hash :struct_payload, as: 'structPayload'
property :text_payload, as: 'textPayload'
property :timestamp, as: 'timestamp'
property :trace, as: 'trace'
end
end
class LogEntryOperation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :first, as: 'first'
property :id, as: 'id'
property :last, as: 'last'
property :producer, as: 'producer'
end
end
class LogEntrySourceLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :file, as: 'file'
property :function, as: 'function'
property :line, :numeric_string => true, as: 'line'
end
end
class MetricValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bool_value, as: 'boolValue'
property :distribution_value, as: 'distributionValue', class: Google::Apis::FileV1::Distribution, decorator: Google::Apis::FileV1::Distribution::Representation
property :double_value, as: 'doubleValue'
property :end_time, as: 'endTime'
property :int64_value, :numeric_string => true, as: 'int64Value'
hash :labels, as: 'labels'
property :money_value, as: 'moneyValue', class: Google::Apis::FileV1::Money, decorator: Google::Apis::FileV1::Money::Representation
property :start_time, as: 'startTime'
property :string_value, as: 'stringValue'
end
end
class MetricValueSet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :metric_name, as: 'metricName'
collection :metric_values, as: 'metricValues', class: Google::Apis::FileV1::MetricValue, decorator: Google::Apis::FileV1::MetricValue::Representation
end
end
class Money
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :currency_code, as: 'currencyCode'
property :nanos, as: 'nanos'
property :units, :numeric_string => true, as: 'units'
end
end
class NetworkConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -672,32 +345,6 @@ module Google
end
end
class QuotaProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :quota_mode, as: 'quotaMode'
end
end
class ReportRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :operations, as: 'operations', class: Google::Apis::FileV1::GoogleApiServicecontrolV1Operation, decorator: Google::Apis::FileV1::GoogleApiServicecontrolV1Operation::Representation
property :service_config_id, as: 'serviceConfigId'
property :service_name, as: 'serviceName'
end
end
class ResourceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :resource_container, as: 'resourceContainer'
property :resource_location, as: 'resourceLocation'
property :resource_name, as: 'resourceName'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -706,34 +353,6 @@ module Google
property :message, as: 'message'
end
end
class TraceSpan
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :attributes, as: 'attributes', class: Google::Apis::FileV1::Attributes, decorator: Google::Apis::FileV1::Attributes::Representation
property :child_span_count, as: 'childSpanCount'
property :display_name, as: 'displayName', class: Google::Apis::FileV1::TruncatableString, decorator: Google::Apis::FileV1::TruncatableString::Representation
property :end_time, as: 'endTime'
property :name, as: 'name'
property :parent_span_id, as: 'parentSpanId'
property :same_process_as_parent_span, as: 'sameProcessAsParentSpan'
property :span_id, as: 'spanId'
property :span_kind, as: 'spanKind'
property :start_time, as: 'startTime'
property :status, as: 'status', class: Google::Apis::FileV1::Status, decorator: Google::Apis::FileV1::Status::Representation
end
end
class TruncatableString
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :truncated_byte_count, as: 'truncatedByteCount'
property :value, as: 'value'
end
end
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/filestore/
module FileV1beta1
VERSION = 'V1beta1'
REVISION = '20200520'
REVISION = '20200602'
# 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

@ -22,72 +22,24 @@ module Google
module Apis
module FileV1beta1
class AttributeValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Attributes
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BillingView
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CancelOperationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Distribution
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Exemplar
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExplicitBuckets
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExponentialBuckets
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FileShareConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleApiServicecontrolV1Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -136,24 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class HttpRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LinearBuckets
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListInstancesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -178,48 +118,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LogEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogEntryOperation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogEntrySourceLocation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MetricValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MetricValueSet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Money
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NfsExportOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -232,155 +142,31 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class QuotaProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReportRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TraceSpan
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TruncatableString
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AttributeValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bool_value, as: 'boolValue'
property :int_value, :numeric_string => true, as: 'intValue'
property :string_value, as: 'stringValue', class: Google::Apis::FileV1beta1::TruncatableString, decorator: Google::Apis::FileV1beta1::TruncatableString::Representation
end
end
class Attributes
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :attribute_map, as: 'attributeMap', class: Google::Apis::FileV1beta1::AttributeValue, decorator: Google::Apis::FileV1beta1::AttributeValue::Representation
property :dropped_attributes_count, as: 'droppedAttributesCount'
end
end
class BillingView
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :report_requests, as: 'reportRequests', class: Google::Apis::FileV1beta1::ReportRequest, decorator: Google::Apis::FileV1beta1::ReportRequest::Representation
end
end
class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Distribution
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bucket_counts, as: 'bucketCounts'
property :count, :numeric_string => true, as: 'count'
collection :exemplars, as: 'exemplars', class: Google::Apis::FileV1beta1::Exemplar, decorator: Google::Apis::FileV1beta1::Exemplar::Representation
property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::FileV1beta1::ExplicitBuckets, decorator: Google::Apis::FileV1beta1::ExplicitBuckets::Representation
property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::FileV1beta1::ExponentialBuckets, decorator: Google::Apis::FileV1beta1::ExponentialBuckets::Representation
property :linear_buckets, as: 'linearBuckets', class: Google::Apis::FileV1beta1::LinearBuckets, decorator: Google::Apis::FileV1beta1::LinearBuckets::Representation
property :maximum, as: 'maximum'
property :mean, as: 'mean'
property :minimum, as: 'minimum'
property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Exemplar
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :attachments, as: 'attachments'
property :timestamp, as: 'timestamp'
property :value, as: 'value'
end
end
class ExplicitBuckets
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bounds, as: 'bounds'
end
end
class ExponentialBuckets
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :growth_factor, as: 'growthFactor'
property :num_finite_buckets, as: 'numFiniteBuckets'
property :scale, as: 'scale'
end
end
class FileShareConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :capacity_gb, :numeric_string => true, as: 'capacityGb'
property :name, as: 'name'
end
end
collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation
class GoogleApiServicecontrolV1Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consumer_id, as: 'consumerId'
property :end_time, as: 'endTime'
property :importance, as: 'importance'
hash :labels, as: 'labels'
collection :log_entries, as: 'logEntries', class: Google::Apis::FileV1beta1::LogEntry, decorator: Google::Apis::FileV1beta1::LogEntry::Representation
collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::FileV1beta1::MetricValueSet, decorator: Google::Apis::FileV1beta1::MetricValueSet::Representation
property :operation_id, as: 'operationId'
property :operation_name, as: 'operationName'
property :quota_properties, as: 'quotaProperties', class: Google::Apis::FileV1beta1::QuotaProperties, decorator: Google::Apis::FileV1beta1::QuotaProperties::Representation
collection :resources, as: 'resources', class: Google::Apis::FileV1beta1::ResourceInfo, decorator: Google::Apis::FileV1beta1::ResourceInfo::Representation
property :start_time, as: 'startTime'
collection :trace_spans, as: 'traceSpans', class: Google::Apis::FileV1beta1::TraceSpan, decorator: Google::Apis::FileV1beta1::TraceSpan::Representation
hash :user_labels, as: 'userLabels'
end
end
@ -475,27 +261,6 @@ module Google
end
end
class HttpRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes'
property :cache_hit, as: 'cacheHit'
property :cache_lookup, as: 'cacheLookup'
property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
property :latency, as: 'latency'
property :protocol, as: 'protocol'
property :referer, as: 'referer'
property :remote_ip, as: 'remoteIp'
property :request_method, as: 'requestMethod'
property :request_size, :numeric_string => true, as: 'requestSize'
property :request_url, as: 'requestUrl'
property :response_size, :numeric_string => true, as: 'responseSize'
property :server_ip, as: 'serverIp'
property :status, as: 'status'
property :user_agent, as: 'userAgent'
end
end
class Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -514,15 +279,6 @@ module Google
end
end
class LinearBuckets
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :num_finite_buckets, as: 'numFiniteBuckets'
property :offset, as: 'offset'
property :width, as: 'width'
end
end
class ListInstancesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -562,81 +318,6 @@ module Google
end
end
class LogEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :http_request, as: 'httpRequest', class: Google::Apis::FileV1beta1::HttpRequest, decorator: Google::Apis::FileV1beta1::HttpRequest::Representation
property :insert_id, as: 'insertId'
hash :labels, as: 'labels'
property :name, as: 'name'
property :operation, as: 'operation', class: Google::Apis::FileV1beta1::LogEntryOperation, decorator: Google::Apis::FileV1beta1::LogEntryOperation::Representation
hash :proto_payload, as: 'protoPayload'
property :severity, as: 'severity'
property :source_location, as: 'sourceLocation', class: Google::Apis::FileV1beta1::LogEntrySourceLocation, decorator: Google::Apis::FileV1beta1::LogEntrySourceLocation::Representation
hash :struct_payload, as: 'structPayload'
property :text_payload, as: 'textPayload'
property :timestamp, as: 'timestamp'
property :trace, as: 'trace'
end
end
class LogEntryOperation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :first, as: 'first'
property :id, as: 'id'
property :last, as: 'last'
property :producer, as: 'producer'
end
end
class LogEntrySourceLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :file, as: 'file'
property :function, as: 'function'
property :line, :numeric_string => true, as: 'line'
end
end
class MetricValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bool_value, as: 'boolValue'
property :distribution_value, as: 'distributionValue', class: Google::Apis::FileV1beta1::Distribution, decorator: Google::Apis::FileV1beta1::Distribution::Representation
property :double_value, as: 'doubleValue'
property :end_time, as: 'endTime'
property :int64_value, :numeric_string => true, as: 'int64Value'
hash :labels, as: 'labels'
property :money_value, as: 'moneyValue', class: Google::Apis::FileV1beta1::Money, decorator: Google::Apis::FileV1beta1::Money::Representation
property :start_time, as: 'startTime'
property :string_value, as: 'stringValue'
end
end
class MetricValueSet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :metric_name, as: 'metricName'
collection :metric_values, as: 'metricValues', class: Google::Apis::FileV1beta1::MetricValue, decorator: Google::Apis::FileV1beta1::MetricValue::Representation
end
end
class Money
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :currency_code, as: 'currencyCode'
property :nanos, as: 'nanos'
property :units, :numeric_string => true, as: 'units'
end
end
class NetworkConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -647,6 +328,17 @@ module Google
end
end
class NfsExportOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :access_mode, as: 'accessMode'
property :anon_gid, :numeric_string => true, as: 'anonGid'
property :anon_uid, :numeric_string => true, as: 'anonUid'
collection :ip_ranges, as: 'ipRanges'
property :squash_mode, as: 'squashMode'
end
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -672,32 +364,6 @@ module Google
end
end
class QuotaProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :quota_mode, as: 'quotaMode'
end
end
class ReportRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :operations, as: 'operations', class: Google::Apis::FileV1beta1::GoogleApiServicecontrolV1Operation, decorator: Google::Apis::FileV1beta1::GoogleApiServicecontrolV1Operation::Representation
property :service_config_id, as: 'serviceConfigId'
property :service_name, as: 'serviceName'
end
end
class ResourceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :resource_container, as: 'resourceContainer'
property :resource_location, as: 'resourceLocation'
property :resource_name, as: 'resourceName'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -706,34 +372,6 @@ module Google
property :message, as: 'message'
end
end
class TraceSpan
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :attributes, as: 'attributes', class: Google::Apis::FileV1beta1::Attributes, decorator: Google::Apis::FileV1beta1::Attributes::Representation
property :child_span_count, as: 'childSpanCount'
property :display_name, as: 'displayName', class: Google::Apis::FileV1beta1::TruncatableString, decorator: Google::Apis::FileV1beta1::TruncatableString::Representation
property :end_time, as: 'endTime'
property :name, as: 'name'
property :parent_span_id, as: 'parentSpanId'
property :same_process_as_parent_span, as: 'sameProcessAsParentSpan'
property :span_id, as: 'spanId'
property :span_kind, as: 'spanKind'
property :start_time, as: 'startTime'
property :status, as: 'status', class: Google::Apis::FileV1beta1::Status, decorator: Google::Apis::FileV1beta1::Status::Representation
end
end
class TruncatableString
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :truncated_byte_count, as: 'truncatedByteCount'
property :value, as: 'value'
end
end
end
end
end

View File

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

View File

@ -342,10 +342,10 @@ module Google
# the audience (`aud`) claim within a JWT. The audience
# value(s) depends on the `issuer`, but typically include one or more of
# the following pieces of information:
# * The services intended to receive the credential such as
# ["pubsub.googleapis.com", "storage.googleapis.com"]
# * The services intended to receive the credential. For example,
# ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"].
# * A set of service-based scopes. For example,
# ["https://www.googleapis.com/auth/cloud-platform"]
# ["https://www.googleapis.com/auth/cloud-platform"].
# * The client id of an app, such as the Firebase project id for JWTs
# from Firebase Auth.
# Consult the documentation for the credential issuer to determine the