Class: Google::Apis::LoggingV2::BucketMetadata

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 LongRunningUpdateBucket Operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BucketMetadata

Returns a new instance of BucketMetadata.



345
346
347
# File 'lib/google/apis/logging_v2/classes.rb', line 345

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

Instance Attribute Details

#create_bucket_requestGoogle::Apis::LoggingV2::CreateBucketRequest

The parameters to CreateBucket. Corresponds to the JSON property createBucketRequest



323
324
325
# File 'lib/google/apis/logging_v2/classes.rb', line 323

def create_bucket_request
  @create_bucket_request
end

#end_timeString

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

Returns:

  • (String)


328
329
330
# File 'lib/google/apis/logging_v2/classes.rb', line 328

def end_time
  @end_time
end

#start_timeString

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

Returns:

  • (String)


333
334
335
# File 'lib/google/apis/logging_v2/classes.rb', line 333

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


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

def state
  @state
end

#update_bucket_requestGoogle::Apis::LoggingV2::UpdateBucketRequest

The parameters to UpdateBucket. Corresponds to the JSON property updateBucketRequest



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

def update_bucket_request
  @update_bucket_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



350
351
352
353
354
355
356
# File 'lib/google/apis/logging_v2/classes.rb', line 350

def update!(**args)
  @create_bucket_request = args[:create_bucket_request] if args.key?(:create_bucket_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)
  @update_bucket_request = args[:update_bucket_request] if args.key?(:update_bucket_request)
end