class Google::Apis::CloudfunctionsV1::OperationMetadataV1

Metadata describing an Operation

Attributes

build_id[RW]

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]

build_name[RW]

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]

request[RW]

The original request that started the operation. Corresponds to the JSON property `request` @return [Hash<String,Object>]

source_token[RW]

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[RW]

Target of the operation - for example `projects/project-1/locations/region-1/ functions/function-1` Corresponds to the JSON property `target` @return [String]

type[RW]

Type of operation. Corresponds to the JSON property `type` @return [String]

update_time[RW]

The last update timestamp of the operation. Corresponds to the JSON property `updateTime` @return [String]

version_id[RW]

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

new(**args) click to toggle source
# File lib/google/apis/cloudfunctions_v1/classes.rb, line 974
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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