Class: Google::Apis::CloudbuildV1beta1::CreateGitHubEnterpriseConfigOperationMetadata

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 CreateGithubEnterpriseConfig operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateGitHubEnterpriseConfigOperationMetadata

Returns a new instance of CreateGitHubEnterpriseConfigOperationMetadata.



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

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

Instance Attribute Details

#complete_timeString

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

Returns:

  • (String)


1028
1029
1030
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 1028

def complete_time
  @complete_time
end

#create_timeString

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

Returns:

  • (String)


1033
1034
1035
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 1033

def create_time
  @create_time
end

#github_enterprise_configString

The resource name of the GitHubEnterprise to be created. Format: projects/ project/locations/location/githubEnterpriseConfigs/id`. Corresponds to the JSON propertygithubEnterpriseConfig`

Returns:

  • (String)


1039
1040
1041
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 1039

def github_enterprise_config
  @github_enterprise_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1046
1047
1048
1049
1050
# File 'lib/google/apis/cloudbuild_v1beta1/classes.rb', line 1046

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