Autogenerated update (2018-07-07)

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

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/error-reporting/ # @see https://cloud.google.com/error-reporting/
module ClouderrorreportingV1beta1 module ClouderrorreportingV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20170811' REVISION = '20180611'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1 module ServiceusageV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180630' REVISION = '20180705'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1966,26 +1966,6 @@ module Google
end end
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 # Defines the HTTP configuration for an API service. It contains a list of
# HttpRule, each specifying the mapping of an RPC method # HttpRule, each specifying the mapping of an RPC method
# to one or more HTTP REST API methods. # to one or more HTTP REST API methods.
@ -3324,41 +3304,23 @@ module Google
end end
end end
# The metadata associated with a long running operation resource. # The operation metadata returned for the batchend services operation.
class OperationMetadata class OperationMetadata
include Google::Apis::Core::Hashable 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 # The full name of the resources that this operation is directly
# associated with. # associated with.
# Corresponds to the JSON property `resourceNames` # Corresponds to the JSON property `resourceNames`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :resource_names 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) def initialize(**args)
update!(**args) update!(**args)
end end
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
@resource_names = args[:resource_names] if args.key?(:resource_names) @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
end end
@ -3734,31 +3696,6 @@ module Google
end end
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 # 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 # an HTTP header or a URL query parameter, and if both are passed the behavior
# is implementation-dependent. # is implementation-dependent.

View File

@ -244,12 +244,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleApiServiceusageV1beta1OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Http class Http
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -418,12 +412,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Step
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SystemParameter class SystemParameter
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -861,13 +849,6 @@ module Google
end end
end end
class GoogleApiServiceusageV1beta1OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_names, as: 'resourceNames'
end
end
class Http class Http
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1092,11 +1073,7 @@ module Google
class OperationMetadata class OperationMetadata
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :progress_percentage, as: 'progressPercentage'
collection :resource_names, as: 'resourceNames' 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
end end
@ -1167,14 +1144,6 @@ module Google
end end
end end
class Step
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :status, as: 'status'
end
end
class SystemParameter class SystemParameter
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1 module ServiceusageV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20180630' REVISION = '20180705'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1942,26 +1942,6 @@ module Google
end end
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 # Defines the HTTP configuration for an API service. It contains a list of
# HttpRule, each specifying the mapping of an RPC method # HttpRule, each specifying the mapping of an RPC method
# to one or more HTTP REST API methods. # to one or more HTTP REST API methods.
@ -3300,41 +3280,23 @@ module Google
end end
end end
# The metadata associated with a long running operation resource. # The operation metadata returned for the batchend services operation.
class OperationMetadata class OperationMetadata
include Google::Apis::Core::Hashable 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 # The full name of the resources that this operation is directly
# associated with. # associated with.
# Corresponds to the JSON property `resourceNames` # Corresponds to the JSON property `resourceNames`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :resource_names 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::ServiceusageV1beta1::Step>]
attr_accessor :steps
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
@resource_names = args[:resource_names] if args.key?(:resource_names) @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
end end
@ -3914,31 +3876,6 @@ module Google
end end
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 # 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 # an HTTP header or a URL query parameter, and if both are passed the behavior
# is implementation-dependent. # is implementation-dependent.

View File

@ -238,12 +238,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleApiServiceusageV1beta1OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Http class Http
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -424,12 +418,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Step
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SystemParameter class SystemParameter
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -860,13 +848,6 @@ module Google
end end
end end
class GoogleApiServiceusageV1beta1OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :resource_names, as: 'resourceNames'
end
end
class Http class Http
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1091,11 +1072,7 @@ module Google
class OperationMetadata class OperationMetadata
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :progress_percentage, as: 'progressPercentage'
collection :resource_names, as: 'resourceNames' collection :resource_names, as: 'resourceNames'
property :start_time, as: 'startTime'
collection :steps, as: 'steps', class: Google::Apis::ServiceusageV1beta1::Step, decorator: Google::Apis::ServiceusageV1beta1::Step::Representation
end end
end end
@ -1197,14 +1174,6 @@ module Google
end end
end end
class Step
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :status, as: 'status'
end
end
class SystemParameter class SystemParameter
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation