generated/google/apis/serviceusage_v1/classes.rb in google-api-client-0.23.2 vs generated/google/apis/serviceusage_v1/classes.rb in google-api-client-0.23.3

- old
+ new

@@ -1964,30 +1964,10 @@ @title = args[:title] if args.key?(:title) @usage = args[:usage] if args.key?(:usage) 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. class Http include Google::Apis::Core::Hashable @@ -3322,45 +3302,27 @@ @name = args[:name] if args.key?(:name) @response = args[:response] if args.key?(:response) 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 # A protocol buffer option, which can be attached to a message, field, # enumeration, etc. @@ -3729,34 +3691,9 @@ # 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 - - # 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