Class: Google::Apis::WebriskV1::GoogleCloudWebriskV1SubmitUriMetadata
- Inherits:
-
Object
- Object
- Google::Apis::WebriskV1::GoogleCloudWebriskV1SubmitUriMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/webrisk_v1/classes.rb,
lib/google/apis/webrisk_v1/representations.rb,
lib/google/apis/webrisk_v1/representations.rb
Overview
Metadata for the Submit URI long-running operation.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Creation time of the operation.
-
#state ⇒ String
The state of the operation.
-
#update_time ⇒ String
Latest update time of the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudWebriskV1SubmitUriMetadata
constructor
A new instance of GoogleCloudWebriskV1SubmitUriMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudWebriskV1SubmitUriMetadata
Returns a new instance of GoogleCloudWebriskV1SubmitUriMetadata.
350 351 352 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 350 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Creation time of the operation.
Corresponds to the JSON property createTime
338 339 340 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 338 def create_time @create_time end |
#state ⇒ String
The state of the operation.
Corresponds to the JSON property state
343 344 345 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 343 def state @state end |
#update_time ⇒ String
Latest update time of the operation.
Corresponds to the JSON property updateTime
348 349 350 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 348 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
355 356 357 358 359 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 355 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |