Note: The following fields are mutually exclusive: create_bucket_request, update_bucket_request. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: create_bucket_request, update_bucket_request. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: create_bucket_request, update_bucket_request. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: update_bucket_request, create_bucket_request. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: update_bucket_request, create_bucket_request. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: update_bucket_request, create_bucket_request. If a field in that set is populated, all other fields in the set will automatically be cleared.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Logging V2 API - Class Google::Cloud::Logging::V2::BucketMetadata (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-BucketMetadata)\n- [1.2.1](/ruby/docs/reference/google-cloud-logging-v2/1.2.1/Google-Cloud-Logging-V2-BucketMetadata)\n- [1.1.0](/ruby/docs/reference/google-cloud-logging-v2/1.1.0/Google-Cloud-Logging-V2-BucketMetadata)\n- [1.0.1](/ruby/docs/reference/google-cloud-logging-v2/1.0.1/Google-Cloud-Logging-V2-BucketMetadata)\n- [0.13.0](/ruby/docs/reference/google-cloud-logging-v2/0.13.0/Google-Cloud-Logging-V2-BucketMetadata)\n- [0.12.2](/ruby/docs/reference/google-cloud-logging-v2/0.12.2/Google-Cloud-Logging-V2-BucketMetadata)\n- [0.11.0](/ruby/docs/reference/google-cloud-logging-v2/0.11.0/Google-Cloud-Logging-V2-BucketMetadata)\n- [0.10.1](/ruby/docs/reference/google-cloud-logging-v2/0.10.1/Google-Cloud-Logging-V2-BucketMetadata)\n- [0.9.0](/ruby/docs/reference/google-cloud-logging-v2/0.9.0/Google-Cloud-Logging-V2-BucketMetadata)\n- [0.8.1](/ruby/docs/reference/google-cloud-logging-v2/0.8.1/Google-Cloud-Logging-V2-BucketMetadata)\n- [0.7.0](/ruby/docs/reference/google-cloud-logging-v2/0.7.0/Google-Cloud-Logging-V2-BucketMetadata)\n- [0.6.0](/ruby/docs/reference/google-cloud-logging-v2/0.6.0/Google-Cloud-Logging-V2-BucketMetadata)\n- [0.5.6](/ruby/docs/reference/google-cloud-logging-v2/0.5.6/Google-Cloud-Logging-V2-BucketMetadata) \nReference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::BucketMetadata.\n\nMetadata for LongRunningUpdateBucket Operations. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #create_bucket_request\n\n def create_bucket_request() -\u003e ::Google::Cloud::Logging::V2::CreateBucketRequest\n\n**Returns**\n\n- ([::Google::Cloud::Logging::V2::CreateBucketRequest](./Google-Cloud-Logging-V2-CreateBucketRequest)) --- LongRunningCreateBucket RPC request.\n\n\n Note: The following fields are mutually exclusive: `create_bucket_request`, `update_bucket_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #create_bucket_request=\n\n def create_bucket_request=(value) -\u003e ::Google::Cloud::Logging::V2::CreateBucketRequest\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Logging::V2::CreateBucketRequest](./Google-Cloud-Logging-V2-CreateBucketRequest)) --- LongRunningCreateBucket RPC request.\n\n\nNote: The following fields are mutually exclusive: `create_bucket_request`, `update_bucket_request`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Logging::V2::CreateBucketRequest](./Google-Cloud-Logging-V2-CreateBucketRequest)) --- LongRunningCreateBucket RPC request.\n\n\n Note: The following fields are mutually exclusive: `create_bucket_request`, `update_bucket_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #end_time\n\n def end_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- The end time of an operation.\n\n### #end_time=\n\n def end_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- The end time of an operation. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- The end time of an operation.\n\n### #start_time\n\n def start_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- The create time of an operation.\n\n### #start_time=\n\n def start_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- The create time of an operation. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- The create time of an operation.\n\n### #state\n\n def state() -\u003e ::Google::Cloud::Logging::V2::OperationState\n\n**Returns**\n\n- ([::Google::Cloud::Logging::V2::OperationState](./Google-Cloud-Logging-V2-OperationState)) --- State of an operation.\n\n### #state=\n\n def state=(value) -\u003e ::Google::Cloud::Logging::V2::OperationState\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Logging::V2::OperationState](./Google-Cloud-Logging-V2-OperationState)) --- State of an operation. \n**Returns**\n\n- ([::Google::Cloud::Logging::V2::OperationState](./Google-Cloud-Logging-V2-OperationState)) --- State of an operation.\n\n### #update_bucket_request\n\n def update_bucket_request() -\u003e ::Google::Cloud::Logging::V2::UpdateBucketRequest\n\n**Returns**\n\n- ([::Google::Cloud::Logging::V2::UpdateBucketRequest](./Google-Cloud-Logging-V2-UpdateBucketRequest)) --- LongRunningUpdateBucket RPC request.\n\n\n Note: The following fields are mutually exclusive: `update_bucket_request`, `create_bucket_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #update_bucket_request=\n\n def update_bucket_request=(value) -\u003e ::Google::Cloud::Logging::V2::UpdateBucketRequest\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Logging::V2::UpdateBucketRequest](./Google-Cloud-Logging-V2-UpdateBucketRequest)) --- LongRunningUpdateBucket RPC request.\n\n\nNote: The following fields are mutually exclusive: `update_bucket_request`, `create_bucket_request`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Logging::V2::UpdateBucketRequest](./Google-Cloud-Logging-V2-UpdateBucketRequest)) --- LongRunningUpdateBucket RPC request.\n\n\n Note: The following fields are mutually exclusive: `update_bucket_request`, `create_bucket_request`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]