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.



1185
1186
1187
# File 'lib/google/apis/logging_v2/classes.rb', line 1185

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

Instance Attribute Details

The parameters to CreateLink. Corresponds to the JSON property createLinkRequest



1163
1164
1165
# File 'lib/google/apis/logging_v2/classes.rb', line 1163

def create_link_request
  @create_link_request
end

The parameters to DeleteLink. Corresponds to the JSON property deleteLinkRequest



1168
1169
1170
# File 'lib/google/apis/logging_v2/classes.rb', line 1168

def delete_link_request
  @delete_link_request
end

#end_timeString

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

Returns:

  • (String)


1173
1174
1175
# File 'lib/google/apis/logging_v2/classes.rb', line 1173

def end_time
  @end_time
end

#start_timeString

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

Returns:

  • (String)


1178
1179
1180
# File 'lib/google/apis/logging_v2/classes.rb', line 1178

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


1183
1184
1185
# File 'lib/google/apis/logging_v2/classes.rb', line 1183

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1190
1191
1192
1193
1194
1195
1196
# File 'lib/google/apis/logging_v2/classes.rb', line 1190

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