class Google::Apis::CloudfunctionsV1::OperationMetadataV1
Metadata describing an Operation
Attributes
The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations. Corresponds to the JSON property `buildId` @return [String]
The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects//locations//builds/`. Corresponds to the JSON property `buildName` @return [String]
The original request that started the operation. Corresponds to the JSON property `request` @return [Hash<String,Object>]
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments. Corresponds to the JSON property `sourceToken` @return [String]
Target of the operation - for example `projects/project-1/locations/region-1/ functions/function-1` Corresponds to the JSON property `target` @return [String]
Type of operation. Corresponds to the JSON property `type` @return [String]
The last update timestamp of the operation. Corresponds to the JSON property `updateTime` @return [String]
Version id of the function created or updated by an API call. This field is only populated for Create and Update operations. Corresponds to the JSON property `versionId` @return [Fixnum]
Public Class Methods
# File lib/google/apis/cloudfunctions_v1/classes.rb, line 974 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudfunctions_v1/classes.rb, line 979 def update!(**args) @build_id = args[:build_id] if args.key?(:build_id) @build_name = args[:build_name] if args.key?(:build_name) @request = args[:request] if args.key?(:request) @source_token = args[:source_token] if args.key?(:source_token) @target = args[:target] if args.key?(:target) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) @version_id = args[:version_id] if args.key?(:version_id) end