Class: Google::Apis::NetworkmanagementV1::StorageBucketInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb

Overview

For display only. Metadata associated with Storage Bucket.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageBucketInfo

Returns a new instance of StorageBucketInfo.



2473
2474
2475
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 2473

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

Instance Attribute Details

#bucket ⇒ String

Cloud Storage Bucket name. Corresponds to the JSON property bucket

Returns:

  • (String)


2471
2472
2473
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 2471

def bucket
  @bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2478
2479
2480
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 2478

def update!(**args)
  @bucket = args[:bucket] if args.key?(:bucket)
end