Cloud Storage API - Class Google::Cloud::Storage::Bucket::Updater (v1.54.0)

Reference documentation and code samples for the Cloud Storage API class Google::Cloud::Storage::Bucket::Updater.

Yielded to a block to accumulate changes for a patch request.

Methods

#cors

def cors()
Yields
  • (@cors_builder)

#initialize

def initialize(gapi) -> Updater

Create an Updater object.

Returns
  • (Updater) — a new instance of Updater

#labels

def labels() -> Hash(String => String)

A hash of user-provided labels. Changes are allowed.

Returns
  • (Hash(String => String))

#labels=

def labels=(labels)

Updates the hash of user-provided labels.

Parameter
  • labels (Hash(String => String)) — The user-provided labels.

#lifecycle

def lifecycle()
Yields
  • (@lifecycle_builder)

#updates

def updates()

Returns the value of attribute updates.