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.



1243
1244
1245
# File 'lib/google/apis/logging_v2/classes.rb', line 1243

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

Instance Attribute Details

The parameters to CreateLink. Corresponds to the JSON property createLinkRequest



1221
1222
1223
# File 'lib/google/apis/logging_v2/classes.rb', line 1221

def create_link_request
  @create_link_request
end

The parameters to DeleteLink. Corresponds to the JSON property deleteLinkRequest



1226
1227
1228
# File 'lib/google/apis/logging_v2/classes.rb', line 1226

def delete_link_request
  @delete_link_request
end

#end_timeString

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

Returns:

  • (String)


1231
1232
1233
# File 'lib/google/apis/logging_v2/classes.rb', line 1231

def end_time
  @end_time
end

#start_timeString

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

Returns:

  • (String)


1236
1237
1238
# File 'lib/google/apis/logging_v2/classes.rb', line 1236

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


1241
1242
1243
# File 'lib/google/apis/logging_v2/classes.rb', line 1241

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1248
1249
1250
1251
1252
1253
1254
# File 'lib/google/apis/logging_v2/classes.rb', line 1248

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