Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::GcsObject.
Cloud Storage object representation.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#bucket
defbucket()->::String
Returns
(::String) — Required. Bucket of the Cloud Storage object.
#bucket=
defbucket=(value)->::String
Parameter
value (::String) — Required. Bucket of the Cloud Storage object.
Returns
(::String) — Required. Bucket of the Cloud Storage object.
#generation_number
defgeneration_number()->::Integer
Returns
(::Integer) — Required. Generation number of the Cloud Storage object. This is used to
ensure that the ExecStep specified by this PatchJob does not change.
#generation_number=
defgeneration_number=(value)->::Integer
Parameter
value (::Integer) — Required. Generation number of the Cloud Storage object. This is used to
ensure that the ExecStep specified by this PatchJob does not change.
Returns
(::Integer) — Required. Generation number of the Cloud Storage object. This is used to
ensure that the ExecStep specified by this PatchJob does not change.
#object
defobject()->::String
Returns
(::String) — Required. Name of the Cloud Storage object.
#object=
defobject=(value)->::String
Parameter
value (::String) — Required. Name of the Cloud Storage object.
Returns
(::String) — Required. Name of the Cloud Storage object.
[[["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 OS Config V1 API - Class Google::Cloud::OsConfig::V1::GcsObject (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-GcsObject)\n- [1.3.0](/ruby/docs/reference/google-cloud-os_config-v1/1.3.0/Google-Cloud-OsConfig-V1-GcsObject)\n- [1.2.1](/ruby/docs/reference/google-cloud-os_config-v1/1.2.1/Google-Cloud-OsConfig-V1-GcsObject)\n- [1.1.0](/ruby/docs/reference/google-cloud-os_config-v1/1.1.0/Google-Cloud-OsConfig-V1-GcsObject)\n- [1.0.1](/ruby/docs/reference/google-cloud-os_config-v1/1.0.1/Google-Cloud-OsConfig-V1-GcsObject)\n- [0.16.0](/ruby/docs/reference/google-cloud-os_config-v1/0.16.0/Google-Cloud-OsConfig-V1-GcsObject)\n- [0.15.2](/ruby/docs/reference/google-cloud-os_config-v1/0.15.2/Google-Cloud-OsConfig-V1-GcsObject)\n- [0.14.0](/ruby/docs/reference/google-cloud-os_config-v1/0.14.0/Google-Cloud-OsConfig-V1-GcsObject)\n- [0.13.0](/ruby/docs/reference/google-cloud-os_config-v1/0.13.0/Google-Cloud-OsConfig-V1-GcsObject)\n- [0.12.0](/ruby/docs/reference/google-cloud-os_config-v1/0.12.0/Google-Cloud-OsConfig-V1-GcsObject)\n- [0.11.0](/ruby/docs/reference/google-cloud-os_config-v1/0.11.0/Google-Cloud-OsConfig-V1-GcsObject)\n- [0.10.0](/ruby/docs/reference/google-cloud-os_config-v1/0.10.0/Google-Cloud-OsConfig-V1-GcsObject)\n- [0.9.1](/ruby/docs/reference/google-cloud-os_config-v1/0.9.1/Google-Cloud-OsConfig-V1-GcsObject) \nReference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::GcsObject.\n\nCloud Storage object representation. \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### #bucket\n\n def bucket() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Bucket of the Cloud Storage object.\n\n### #bucket=\n\n def bucket=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Bucket of the Cloud Storage object. \n**Returns**\n\n- (::String) --- Required. Bucket of the Cloud Storage object.\n\n### #generation_number\n\n def generation_number() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Required. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change.\n\n### #generation_number=\n\n def generation_number=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Required. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change. \n**Returns**\n\n- (::Integer) --- Required. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change.\n\n### #object\n\n def object() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Name of the Cloud Storage object.\n\n### #object=\n\n def object=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Name of the Cloud Storage object. \n**Returns**\n\n- (::String) --- Required. Name of the Cloud Storage object."]]