Reference documentation and code samples for the Observability V1 API class Google::Cloud::Observability::V1::CreateBucketRequest.
Request for creating a bucket.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bucket
def bucket() -> ::Google::Cloud::Observability::V1::Bucket
Returns
- (::Google::Cloud::Observability::V1::Bucket) — Required. Bucket to create.
#bucket=
def bucket=(value) -> ::Google::Cloud::Observability::V1::Bucket
Parameter
- value (::Google::Cloud::Observability::V1::Bucket) — Required. Bucket to create.
Returns
- (::Google::Cloud::Observability::V1::Bucket) — Required. Bucket to create.
#bucket_id
def bucket_id() -> ::String
Returns
- (::String) — Required. Id of the bucket to create.
#bucket_id=
def bucket_id=(value) -> ::String
Parameter
- value (::String) — Required. Id of the bucket to create.
Returns
- (::String) — Required. Id of the bucket to create.
#parent
def parent() -> ::String
Returns
-
(::String) —
Required. Name of the project and location for the bucket. The format is:
projects/[PROJECT_ID]/locations/[LOCATION]
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) —
Required. Name of the project and location for the bucket. The format is:
projects/[PROJECT_ID]/locations/[LOCATION]
Returns
-
(::String) —
Required. Name of the project and location for the bucket. The format is:
projects/[PROJECT_ID]/locations/[LOCATION]