Class: Google::Apis::CloudbuildV1alpha2::UpdateGitHubEnterpriseConfigOperationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateGitHubEnterpriseConfigOperationMetadata

Returns a new instance of UpdateGitHubEnterpriseConfigOperationMetadata.



2051
2052
2053
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 2051

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

Instance Attribute Details

#complete_timeString

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

Returns:

  • (String)


2038
2039
2040
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 2038

def complete_time
  @complete_time
end

#create_timeString

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

Returns:

  • (String)


2043
2044
2045
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 2043

def create_time
  @create_time
end

#github_enterprise_configString

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

Returns:

  • (String)


2049
2050
2051
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 2049

def github_enterprise_config
  @github_enterprise_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2056
2057
2058
2059
2060
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 2056

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