The parameters to UpdateBucket
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bucket
def bucket() -> ::Google::Cloud::Logging::V2::LogBucket
- (::Google::Cloud::Logging::V2::LogBucket) — Required. The updated bucket.
#bucket=
def bucket=(value) -> ::Google::Cloud::Logging::V2::LogBucket
- value (::Google::Cloud::Logging::V2::LogBucket) — Required. The updated bucket.
- (::Google::Cloud::Logging::V2::LogBucket) — Required. The updated bucket.
#name
def name() -> ::String
-
(::String) — Required. The full resource name of the bucket to update.
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
Example:
"projects/my-project-id/locations/my-location/buckets/my-bucket-id"
. Also requires permission "resourcemanager.projects.updateLiens" to set the locked property
#name=
def name=(value) -> ::String
-
value (::String) — Required. The full resource name of the bucket to update.
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
Example:
"projects/my-project-id/locations/my-location/buckets/my-bucket-id"
. Also requires permission "resourcemanager.projects.updateLiens" to set the locked property
-
(::String) — Required. The full resource name of the bucket to update.
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
Example:
"projects/my-project-id/locations/my-location/buckets/my-bucket-id"
. Also requires permission "resourcemanager.projects.updateLiens" to set the locked property
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
-
(::Google::Protobuf::FieldMask) — Required. Field mask that specifies the fields in
bucket
that need an update. A bucket field will be overwritten if, and only if, it is in the update mask.name
and output only fields cannot be updated.For a detailed
FieldMask
definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample:
updateMask=retention_days
.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
-
value (::Google::Protobuf::FieldMask) — Required. Field mask that specifies the fields in
bucket
that need an update. A bucket field will be overwritten if, and only if, it is in the update mask.name
and output only fields cannot be updated.For a detailed
FieldMask
definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample:
updateMask=retention_days
.
-
(::Google::Protobuf::FieldMask) — Required. Field mask that specifies the fields in
bucket
that need an update. A bucket field will be overwritten if, and only if, it is in the update mask.name
and output only fields cannot be updated.For a detailed
FieldMask
definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample:
updateMask=retention_days
.