Class: Google::Apis::CloudbuildV1alpha1::CreateGitLabConfigOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1alpha1::CreateGitLabConfigOperationMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v1alpha1/classes.rb,
lib/google/apis/cloudbuild_v1alpha1/representations.rb,
lib/google/apis/cloudbuild_v1alpha1/representations.rb
Overview
Metadata for CreateGitLabConfig
operation.
Instance Attribute Summary collapse
-
#complete_time ⇒ String
Time the operation was completed.
-
#create_time ⇒ String
Time the operation was created.
-
#gitlab_config ⇒ String
The resource name of the GitLabConfig to be created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateGitLabConfigOperationMetadata
constructor
A new instance of CreateGitLabConfigOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateGitLabConfigOperationMetadata
Returns a new instance of CreateGitLabConfigOperationMetadata.
1092 1093 1094 |
# File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1092 def initialize(**args) update!(**args) end |
Instance Attribute Details
#complete_time ⇒ String
Time the operation was completed.
Corresponds to the JSON property completeTime
1079 1080 1081 |
# File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1079 def complete_time @complete_time end |
#create_time ⇒ String
Time the operation was created.
Corresponds to the JSON property createTime
1084 1085 1086 |
# File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1084 def create_time @create_time end |
#gitlab_config ⇒ String
The resource name of the GitLabConfig to be created. Format: projects/
project/locations/
location/gitlabConfigs/
id`.
Corresponds to the JSON property
gitlabConfig`
1090 1091 1092 |
# File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1090 def gitlab_config @gitlab_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1097 1098 1099 1100 1101 |
# File 'lib/google/apis/cloudbuild_v1alpha1/classes.rb', line 1097 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 |