Autogenerated update (2020-08-29)
Update: - appengine_v1 - bigtableadmin_v2 - calendar_v3 - compute_alpha - compute_beta - compute_v1 - doubleclicksearch_v2 - memcache_v1beta2 - playablelocations_v3 - speech_v1 - speech_v1p1beta1 - speech_v2beta1
This commit is contained in:
1 parent
32fac21291
commit
76a32f11cf
35 files changed
+1713
-889
No files matched your search
@@ -997,65 +997,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Represents the metadata of a long-running operation.
|
||||
class OperationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. API version used to start the operation.
|
||||
# Corresponds to the JSON property `apiVersion`
|
||||
# @return [String]
|
||||
attr_accessor :api_version
|
||||
|
||||
# Output only. Identifies whether the user has requested cancellation of the
|
||||
# operation. Operations that have successfully been cancelled have Operation.
|
||||
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
||||
# CANCELLED`.
|
||||
# Corresponds to the JSON property `cancelRequested`
|
||||
# @return [Boolean]
|
||||
attr_accessor :cancel_requested
|
||||
alias_method :cancel_requested?, :cancel_requested
|
||||
|
||||
# Output only. Time when the operation was created.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Output only. Time when the operation finished running.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# Output only. Human-readable status of the operation, if any.
|
||||
# Corresponds to the JSON property `statusDetail`
|
||||
# @return [String]
|
||||
attr_accessor :status_detail
|
||||
|
||||
# Output only. Server-defined resource path for the target of the operation.
|
||||
# Corresponds to the JSON property `target`
|
||||
# @return [String]
|
||||
attr_accessor :target
|
||||
|
||||
# Output only. Name of the verb executed by the operation.
|
||||
# Corresponds to the JSON property `verb`
|
||||
# @return [String]
|
||||
attr_accessor :verb
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@api_version = args[:api_version] if args.key?(:api_version)
|
||||
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
||||
@target = args[:target] if args.key?(:target)
|
||||
@verb = args[:verb] if args.key?(:verb)
|
||||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by [
|
||||
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
||||
|
||||
@@ -160,12 +160,6 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OperationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Status
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -430,19 +424,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class OperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :api_version, as: 'apiVersion'
|
||||
property :cancel_requested, as: 'cancelRequested'
|
||||
property :create_time, as: 'createTime'
|
||||
property :end_time, as: 'endTime'
|
||||
property :status_detail, as: 'statusDetail'
|
||||
property :target, as: 'target'
|
||||
property :verb, as: 'verb'
|
||||
end
|
||||
end
|
||||
|
||||
class Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
Reference in new issue
Block a user