Class: Google::Apis::CloudbuildV1alpha2::CreateBitbucketServerConfigOperationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateBitbucketServerConfigOperationMetadata

Returns a new instance of CreateBitbucketServerConfigOperationMetadata.



915
916
917
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 915

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

Instance Attribute Details

#bitbucket_server_configString

The resource name of the BitbucketServerConfig to be created. Format: projects/project/locations/location/bitbucketServerConfigs/id`. Corresponds to the JSON propertybitbucketServerConfig`

Returns:

  • (String)


903
904
905
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 903

def bitbucket_server_config
  @bitbucket_server_config
end

#complete_timeString

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

Returns:

  • (String)


908
909
910
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 908

def complete_time
  @complete_time
end

#create_timeString

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

Returns:

  • (String)


913
914
915
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 913

def create_time
  @create_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



920
921
922
923
924
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 920

def update!(**args)
  @bitbucket_server_config = args[:bitbucket_server_config] if args.key?(:bitbucket_server_config)
  @complete_time = args[:complete_time] if args.key?(:complete_time)
  @create_time = args[:create_time] if args.key?(:create_time)
end