Autogenerated update (2017-10-19)
Update: - cloudfunctions_v1 - cloudfunctions_v1beta2 - cloudtasks_v2beta2 - dlp_v2beta1 - firebaseremoteconfig_v1 - proximitybeacon_v1beta1 - servicemanagement_v1 - serviceuser_v1 - toolresults_v1beta3
This commit is contained in:
1 parent
749e418caa
commit
1fb2583a20
21 files changed
+1188
-23
No files matched your search
@@ -596,6 +596,45 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Metadata describing an Operation
|
||||
class OperationMetadataV1
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The original request that started the operation.
|
||||
# Corresponds to the JSON property `request`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :request
|
||||
|
||||
# Target of the operation - for example
|
||||
# projects/project-1/locations/region-1/functions/function-1
|
||||
# Corresponds to the JSON property `target`
|
||||
# @return [String]
|
||||
attr_accessor :target
|
||||
|
||||
# Type of operation.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# Version id of the function created or updated by an API call.
|
||||
# This field is only pupulated for Create and Update operations.
|
||||
# Corresponds to the JSON property `versionId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@request = args[:request] if args.key?(:request)
|
||||
@target = args[:target] if args.key?(:target)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
@version_id = args[:version_id] if args.key?(:version_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Metadata describing an Operation
|
||||
class OperationMetadataV1Beta2
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
Reference in new issue
Block a user