Class: Google::Apis::LoggingV2::BucketMetadata
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2::BucketMetadata
- 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
-
#create_bucket_request ⇒ Google::Apis::LoggingV2::CreateBucketRequest
The parameters to CreateBucket.
-
#end_time ⇒ String
The end time of an operation.
-
#start_time ⇒ String
The create time of an operation.
-
#state ⇒ String
Output only.
-
#update_bucket_request ⇒ Google::Apis::LoggingV2::UpdateBucketRequest
The parameters to UpdateBucket.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BucketMetadata
constructor
A new instance of BucketMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BucketMetadata
Returns a new instance of BucketMetadata.
285 286 287 |
# File 'lib/google/apis/logging_v2/classes.rb', line 285 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_bucket_request ⇒ Google::Apis::LoggingV2::CreateBucketRequest
The parameters to CreateBucket.
Corresponds to the JSON property createBucketRequest
263 264 265 |
# File 'lib/google/apis/logging_v2/classes.rb', line 263 def create_bucket_request @create_bucket_request end |
#end_time ⇒ String
The end time of an operation.
Corresponds to the JSON property endTime
268 269 270 |
# File 'lib/google/apis/logging_v2/classes.rb', line 268 def end_time @end_time end |
#start_time ⇒ String
The create time of an operation.
Corresponds to the JSON property startTime
273 274 275 |
# File 'lib/google/apis/logging_v2/classes.rb', line 273 def start_time @start_time end |
#state ⇒ String
Output only. State of an operation.
Corresponds to the JSON property state
278 279 280 |
# File 'lib/google/apis/logging_v2/classes.rb', line 278 def state @state end |
#update_bucket_request ⇒ Google::Apis::LoggingV2::UpdateBucketRequest
The parameters to UpdateBucket.
Corresponds to the JSON property updateBucketRequest
283 284 285 |
# File 'lib/google/apis/logging_v2/classes.rb', line 283 def update_bucket_request @update_bucket_request end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
290 291 292 293 294 295 296 |
# File 'lib/google/apis/logging_v2/classes.rb', line 290 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 |