Class: Google::Apis::WebriskV1::GoogleCloudWebriskV1SubmitUriMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_timeString

Creation time of the operation. Corresponds to the JSON property createTime

Returns:

  • (String)


338
339
340
# File 'lib/google/apis/webrisk_v1/classes.rb', line 338

def create_time
  @create_time
end

#stateString

The state of the operation. Corresponds to the JSON property state

Returns:

  • (String)


343
344
345
# File 'lib/google/apis/webrisk_v1/classes.rb', line 343

def state
  @state
end

#update_timeString

Latest update time of the operation. Corresponds to the JSON property updateTime

Returns:

  • (String)


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