Class: Google::Apis::CloudbuildV1beta1::UpdateGitHubEnterpriseConfigOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1beta1::UpdateGitHubEnterpriseConfigOperationMetadata
- 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 UpdateGitHubEnterpriseConfig operation.
Instance Attribute Summary collapse
-
#complete_time ⇒ String
Time the operation was completed.
-
#create_time ⇒ String
Time the operation was created.
-
#github_enterprise_config ⇒ String
The resource name of the GitHubEnterprise to be updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateGitHubEnterpriseConfigOperationMetadata
constructor
A new instance of UpdateGitHubEnterpriseConfigOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateGitHubEnterpriseConfigOperationMetadata
Returns a new instance of UpdateGitHubEnterpriseConfigOperationMetadata.
2617 2618 2619 |
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2617 def initialize(**args) update!(**args) end |
Instance Attribute Details
#complete_time ⇒ String
Time the operation was completed.
Corresponds to the JSON property completeTime
2604 2605 2606 |
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2604 def complete_time @complete_time end |
#create_time ⇒ String
Time the operation was created.
Corresponds to the JSON property createTime
2609 2610 2611 |
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2609 def create_time @create_time end |
#github_enterprise_config ⇒ String
The resource name of the GitHubEnterprise to be updated. Format: projects/
project/locations/location/githubEnterpriseConfigs/id`.
Corresponds to the JSON propertygithubEnterpriseConfig`
2615 2616 2617 |
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2615 def github_enterprise_config @github_enterprise_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2622 2623 2624 2625 2626 |
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 2622 def update!(**args) @complete_time = args[:complete_time] if args.key?(:complete_time) @create_time = args[:create_time] if args.key?(:create_time) @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config) end |