Class: Google::Cloud::Logging::V2::CreateBucketRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Logging::V2::CreateBucketRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/logging/v2/logging_config.rb
Overview
The parameters to CreateBucket
.
Instance Attribute Summary collapse
-
#bucket ⇒ ::Google::Cloud::Logging::V2::LogBucket
Required.
-
#bucket_id ⇒ ::String
Required.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#bucket ⇒ ::Google::Cloud::Logging::V2::LogBucket
Returns Required. The new bucket. The region specified in the new bucket must be compliant with any Location Restriction Org Policy. The name field in the bucket is ignored.
334 335 336 337 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 334 class CreateBucketRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#bucket_id ⇒ ::String
Returns Required. A client-assigned identifier such as "my-bucket"
. Identifiers are limited
to 100 characters and can include only letters, digits, underscores,
hyphens, and periods.
334 335 336 337 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 334 class CreateBucketRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The resource in which to create the log bucket:
"projects/[PROJECT_ID]/locations/[LOCATION_ID]"
For example:
"projects/my-project/locations/global"
.
334 335 336 337 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 334 class CreateBucketRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |