Autogenerated update (2018-07-07)

Update:
- clouderrorreporting_v1beta1
- serviceusage_v1
- serviceusage_v1beta1
This commit is contained in:
Google APIs committed 2018-07-07 00:36:17 +00:00
1 parent 644db0f47b
commit 741c0c3363
7 files changed
+5 -193

No files matched your search

@@ -1966,26 +1966,6 @@ module Google
end
end
# The operation metadata returned for the batchend services operation.
class GoogleApiServiceusageV1beta1OperationMetadata
include Google::Apis::Core::Hashable
# The full name of the resources that this operation is directly
# associated with.
# Corresponds to the JSON property `resourceNames`
# @return [Array<String>]
attr_accessor :resource_names
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@resource_names = args[:resource_names] if args.key?(:resource_names)
end
end
# Defines the HTTP configuration for an API service. It contains a list of
# HttpRule, each specifying the mapping of an RPC method
# to one or more HTTP REST API methods.
@@ -3324,41 +3304,23 @@ module Google
end
end
# The metadata associated with a long running operation resource.
# The operation metadata returned for the batchend services operation.
class OperationMetadata
include Google::Apis::Core::Hashable
# Percentage of completion of this operation, ranging from 0 to 100.
# Corresponds to the JSON property `progressPercentage`
# @return [Fixnum]
attr_accessor :progress_percentage
# The full name of the resources that this operation is directly
# associated with.
# Corresponds to the JSON property `resourceNames`
# @return [Array<String>]
attr_accessor :resource_names
# The start time of the operation.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# Detailed status information for each step. The order is undetermined.
# Corresponds to the JSON property `steps`
# @return [Array<Google::Apis::ServiceusageV1::Step>]
attr_accessor :steps
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
@resource_names = args[:resource_names] if args.key?(:resource_names)
@start_time = args[:start_time] if args.key?(:start_time)
@steps = args[:steps] if args.key?(:steps)
end
end
@@ -3734,31 +3696,6 @@ module Google
end
end
# Represents the status of one operation step.
class Step
include Google::Apis::Core::Hashable
# The short description of the step.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The status code.
# 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)
@description = args[:description] if args.key?(:description)
@status = args[:status] if args.key?(:status)
end
end
# Define a parameter's name and location. The parameter may be passed as either
# an HTTP header or a URL query parameter, and if both are passed the behavior
# is implementation-dependent.
@@ -244,12 +244,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleApiServiceusageV1beta1OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Http
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -418,12 +412,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Step
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SystemParameter
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -861,13 +849,6 @@ module Google
end
end
class GoogleApiServiceusageV1beta1OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_names, as: 'resourceNames'
end
end
class Http
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1092,11 +1073,7 @@ module Google
class OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :progress_percentage, as: 'progressPercentage'
collection :resource_names, as: 'resourceNames'
property :start_time, as: 'startTime'
collection :steps, as: 'steps', class: Google::Apis::ServiceusageV1::Step, decorator: Google::Apis::ServiceusageV1::Step::Representation
end
end
@@ -1167,14 +1144,6 @@ module Google
end
end
class Step
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :status, as: 'status'
end
end
class SystemParameter
# @private
class Representation < Google::Apis::Core::JsonRepresentation