Class: Google::Apis::LoggingV2::LinkMetadata

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

Overview

Metadata for long running Link operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinkMetadata

Returns a new instance of LinkMetadata.



1446
1447
1448
# File 'lib/google/apis/logging_v2/classes.rb', line 1446

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

Instance Attribute Details

The parameters to CreateLink. Corresponds to the JSON property createLinkRequest



1424
1425
1426
# File 'lib/google/apis/logging_v2/classes.rb', line 1424

def create_link_request
  @create_link_request
end

The parameters to DeleteLink. Corresponds to the JSON property deleteLinkRequest



1429
1430
1431
# File 'lib/google/apis/logging_v2/classes.rb', line 1429

def delete_link_request
  @delete_link_request
end

#end_timeString

The end time of an operation. Corresponds to the JSON property endTime

Returns:

  • (String)


1434
1435
1436
# File 'lib/google/apis/logging_v2/classes.rb', line 1434

def end_time
  @end_time
end

#start_timeString

The start time of an operation. Corresponds to the JSON property startTime

Returns:

  • (String)


1439
1440
1441
# File 'lib/google/apis/logging_v2/classes.rb', line 1439

def start_time
  @start_time
end

#stateString

Output only. State of an operation. Corresponds to the JSON property state

Returns:

  • (String)


1444
1445
1446
# File 'lib/google/apis/logging_v2/classes.rb', line 1444

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1451
1452
1453
1454
1455
1456
1457
# File 'lib/google/apis/logging_v2/classes.rb', line 1451

def update!(**args)
  @create_link_request = args[:create_link_request] if args.key?(:create_link_request)
  @delete_link_request = args[:delete_link_request] if args.key?(:delete_link_request)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end