Class: Google::Apis::CloudbuildV1alpha2::CreateGitHubEnterpriseConfigOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1alpha2::CreateGitHubEnterpriseConfigOperationMetadata
- 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 CreateGithubEnterpriseConfig
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 created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateGitHubEnterpriseConfigOperationMetadata
constructor
A new instance of CreateGitHubEnterpriseConfigOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateGitHubEnterpriseConfigOperationMetadata
Returns a new instance of CreateGitHubEnterpriseConfigOperationMetadata.
947 948 949 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 947 def initialize(**args) update!(**args) end |
Instance Attribute Details
#complete_time ⇒ String
Time the operation was completed.
Corresponds to the JSON property completeTime
934 935 936 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 934 def complete_time @complete_time end |
#create_time ⇒ String
Time the operation was created.
Corresponds to the JSON property createTime
939 940 941 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 939 def create_time @create_time end |
#github_enterprise_config ⇒ String
The resource name of the GitHubEnterprise to be created. Format: projects/
project/locations/
location/githubEnterpriseConfigs/
id`.
Corresponds to the JSON property
githubEnterpriseConfig`
945 946 947 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 945 def github_enterprise_config @github_enterprise_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
952 953 954 955 956 |
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 952 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 |