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.
288 289 290 291 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 288 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.
288 289 290 291 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 288 class CreateBucketRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The resource in which to create the bucket:
"projects/[PROJECT_ID]/locations/[LOCATION_ID]"
Example: "projects/my-logging-project/locations/global"
.
288 289 290 291 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 288 class CreateBucketRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |