Class: Google::Apis::DeveloperconnectV1::GitRepositoryLink

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/developerconnect_v1/classes.rb,
lib/google/apis/developerconnect_v1/representations.rb,
lib/google/apis/developerconnect_v1/representations.rb

Overview

Message describing the GitRepositoryLink object

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GitRepositoryLink

Returns a new instance of GitRepositoryLink.



407
408
409
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 407

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

Instance Attribute Details

#annotationsHash<String,String>

Optional. Allows clients to store small amounts of arbitrary data. Corresponds to the JSON property annotations

Returns:

  • (Hash<String,String>)


355
356
357
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 355

def annotations
  @annotations
end

#clone_uriString

Required. Git Clone URI. Corresponds to the JSON property cloneUri

Returns:

  • (String)


360
361
362
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 360

def clone_uri
  @clone_uri
end

#create_timeString

Output only. [Output only] Create timestamp Corresponds to the JSON property createTime

Returns:

  • (String)


365
366
367
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 365

def create_time
  @create_time
end

#delete_timeString

Output only. [Output only] Delete timestamp Corresponds to the JSON property deleteTime

Returns:

  • (String)


370
371
372
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 370

def delete_time
  @delete_time
end

#etagString

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Corresponds to the JSON property etag

Returns:

  • (String)


377
378
379
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 377

def etag
  @etag
end

#labelsHash<String,String>

Optional. Labels as key value pairs Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


382
383
384
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 382

def labels
  @labels
end

#nameString

Identifier. Resource name of the repository, in the format projects/*/ locations/*/connections/*/gitRepositoryLinks/*. Corresponds to the JSON property name

Returns:

  • (String)


388
389
390
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 388

def name
  @name
end

#reconcilingBoolean Also known as: reconciling?

Output only. Set to true when the connection is being set up or updated in the background. Corresponds to the JSON property reconciling

Returns:

  • (Boolean)


394
395
396
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 394

def reconciling
  @reconciling
end

#uidString

Output only. A system-assigned unique identifier for a the GitRepositoryLink. Corresponds to the JSON property uid

Returns:

  • (String)


400
401
402
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 400

def uid
  @uid
end

#update_timeString

Output only. [Output only] Update timestamp Corresponds to the JSON property updateTime

Returns:

  • (String)


405
406
407
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 405

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



412
413
414
415
416
417
418
419
420
421
422
423
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 412

def update!(**args)
  @annotations = args[:annotations] if args.key?(:annotations)
  @clone_uri = args[:clone_uri] if args.key?(:clone_uri)
  @create_time = args[:create_time] if args.key?(:create_time)
  @delete_time = args[:delete_time] if args.key?(:delete_time)
  @etag = args[:etag] if args.key?(:etag)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @reconciling = args[:reconciling] if args.key?(:reconciling)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
end