Class: Google::Apis::CloudbuildV1alpha2::CreateGitLabConfigOperationMetadata

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

Overview

Metadata for CreateGitLabConfig operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateGitLabConfigOperationMetadata

Returns a new instance of CreateGitLabConfigOperationMetadata.



1054
1055
1056
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1054

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

Instance Attribute Details

#complete_timeString

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

Returns:

  • (String)


1041
1042
1043
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1041

def complete_time
  @complete_time
end

#create_timeString

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

Returns:

  • (String)


1046
1047
1048
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1046

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)


1052
1053
1054
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1052

def gitlab_config
  @gitlab_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1059
1060
1061
1062
1063
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1059

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