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.



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

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

Instance Attribute Details

The parameters to CreateLink. Corresponds to the JSON property createLinkRequest



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

def create_link_request
  @create_link_request
end

The parameters to DeleteLink. Corresponds to the JSON property deleteLinkRequest



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

def delete_link_request
  @delete_link_request
end

#end_timeString

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

Returns:

  • (String)


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

def end_time
  @end_time
end

#start_timeString

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

Returns:

  • (String)


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

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


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

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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