Class: Google::Apis::CloudbuildV1beta1::UpdateGitLabConfigOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbuild_v1beta1/classes.rb,
lib/google/apis/cloudbuild_v1beta1/representations.rb,
lib/google/apis/cloudbuild_v1beta1/representations.rb

Overview

Metadata for UpdateGitLabConfig operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateGitLabConfigOperationMetadata

Returns a new instance of UpdateGitLabConfigOperationMetadata.



2379
2380
2381
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2379

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#complete_timeString

Time the operation was completed. Corresponds to the JSON property completeTime

Returns:

  • (String)


2366
2367
2368
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2366

def complete_time
  @complete_time
end

#create_timeString

Time the operation was created. Corresponds to the JSON property createTime

Returns:

  • (String)


2371
2372
2373
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2371

def create_time
  @create_time
end

#gitlab_configString

The resource name of the GitLabConfig to be created. Format: projects/ project/locations/location/gitlabConfigs/id`. Corresponds to the JSON propertygitlabConfig`

Returns:

  • (String)


2377
2378
2379
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2377

def gitlab_config
  @gitlab_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2384
2385
2386
2387
2388
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2384

def update!(**args)
  @complete_time = args[:complete_time] if args.key?(:complete_time)
  @create_time = args[:create_time] if args.key?(:create_time)
  @gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
end