Class: Google::Apis::LoggingV2::LinkMetadata
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2::LinkMetadata
- 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
-
#create_link_request ⇒ Google::Apis::LoggingV2::CreateLinkRequest
The parameters to CreateLink.
-
#delete_link_request ⇒ Google::Apis::LoggingV2::DeleteLinkRequest
The parameters to DeleteLink.
-
#end_time ⇒ String
The end time of an operation.
-
#start_time ⇒ String
The start time of an operation.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkMetadata
constructor
A new instance of LinkMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#create_link_request ⇒ Google::Apis::LoggingV2::CreateLinkRequest
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 |
#delete_link_request ⇒ Google::Apis::LoggingV2::DeleteLinkRequest
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_time ⇒ String
The end time of an operation.
Corresponds to the JSON property endTime
1173 1174 1175 |
# File 'lib/google/apis/logging_v2/classes.rb', line 1173 def end_time @end_time end |
#start_time ⇒ String
The start time of an operation.
Corresponds to the JSON property startTime
1178 1179 1180 |
# File 'lib/google/apis/logging_v2/classes.rb', line 1178 def start_time @start_time end |
#state ⇒ String
Output only. State of an operation.
Corresponds to the JSON property state
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 |