Autogenerated update (2018-06-08)

Update:
- androidpublisher_v2
- container_v1beta1
- content_v2
- datastore_v1
- datastore_v1beta1
- datastore_v1beta3
- firestore_v1beta1
- genomics_v1
- genomics_v1alpha2
- genomics_v2alpha1
- logging_v2
- logging_v2beta1
- monitoring_v3
- poly_v1
- testing_v1
This commit is contained in:
Google APIs committed 2018-06-08 00:35:54 +00:00
1 parent e588859e17
commit 17fb47d340
31 files changed
+638 -19

No files matched your search

@@ -1400,6 +1400,44 @@ module Google
end
end
# Progress metric is (string, int|float|string) pair.
class Metric
include Google::Apis::Core::Hashable
# For metrics with floating point value.
# Corresponds to the JSON property `doubleValue`
# @return [Float]
attr_accessor :double_value
# For metrics with integer value.
# Corresponds to the JSON property `intValue`
# @return [Fixnum]
attr_accessor :int_value
# Metric name, required.
# e.g., "nodes total", "percent done"
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# For metrics with custom values (ratios, visual progress, etc.).
# Corresponds to the JSON property `stringValue`
# @return [String]
attr_accessor :string_value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@double_value = args[:double_value] if args.key?(:double_value)
@int_value = args[:int_value] if args.key?(:int_value)
@name = args[:name] if args.key?(:name)
@string_value = args[:string_value] if args.key?(:string_value)
end
end
# NetworkConfig reports the relative names of network & subnetwork.
class NetworkConfig
include Google::Apis::Core::Hashable
@@ -1871,6 +1909,11 @@ module Google
# @return [String]
attr_accessor :operation_type
# Information about operation (or operation stage) progress.
# Corresponds to the JSON property `progress`
# @return [Google::Apis::ContainerV1beta1::OperationProgress]
attr_accessor :progress
# Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
@@ -1916,6 +1959,7 @@ module Google
@location = args[:location] if args.key?(:location)
@name = args[:name] if args.key?(:name)
@operation_type = args[:operation_type] if args.key?(:operation_type)
@progress = args[:progress] if args.key?(:progress)
@self_link = args[:self_link] if args.key?(:self_link)
@start_time = args[:start_time] if args.key?(:start_time)
@status = args[:status] if args.key?(:status)
@@ -1925,6 +1969,50 @@ module Google
end
end
# Information about operation (or operation stage) progress.
class OperationProgress
include Google::Apis::Core::Hashable
# Progress metric bundle, for example:
# metrics: [`name: "nodes done", int_value: 15`,
# `name: "nodes total", int_value: 32`]
# or
# metrics: [`name: "progress", double_value: 0.56`,
# `name: "progress scale", double_value: 1.0`]
# Corresponds to the JSON property `metrics`
# @return [Array<Google::Apis::ContainerV1beta1::Metric>]
attr_accessor :metrics
# A non-parameterized string describing an operation stage.
# Unset for single-stage operations.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Substages of an operation or a stage.
# Corresponds to the JSON property `stages`
# @return [Array<Google::Apis::ContainerV1beta1::OperationProgress>]
attr_accessor :stages
# Status of an operation stage.
# Unset for single-stage operations.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@metrics = args[:metrics] if args.key?(:metrics)
@name = args[:name] if args.key?(:name)
@stages = args[:stages] if args.key?(:stages)
@status = args[:status] if args.key?(:status)
end
end
# Configuration for the PodSecurityPolicy feature.
class PodSecurityPolicyConfig
include Google::Apis::Core::Hashable
@@ -196,6 +196,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Metric
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -250,6 +256,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OperationProgress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PodSecurityPolicyConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -703,6 +715,16 @@ module Google
end
end
class Metric
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :double_value, as: 'doubleValue'
property :int_value, :numeric_string => true, as: 'intValue'
property :name, as: 'name'
property :string_value, as: 'stringValue'
end
end
class NetworkConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -805,6 +827,8 @@ module Google
property :location, as: 'location'
property :name, as: 'name'
property :operation_type, as: 'operationType'
property :progress, as: 'progress', class: Google::Apis::ContainerV1beta1::OperationProgress, decorator: Google::Apis::ContainerV1beta1::OperationProgress::Representation
property :self_link, as: 'selfLink'
property :start_time, as: 'startTime'
property :status, as: 'status'
@@ -814,6 +838,18 @@ module Google
end
end
class OperationProgress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :metrics, as: 'metrics', class: Google::Apis::ContainerV1beta1::Metric, decorator: Google::Apis::ContainerV1beta1::Metric::Representation
property :name, as: 'name'
collection :stages, as: 'stages', class: Google::Apis::ContainerV1beta1::OperationProgress, decorator: Google::Apis::ContainerV1beta1::OperationProgress::Representation
property :status, as: 'status'
end
end
class PodSecurityPolicyConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation