Class: Google::Apis::WorkloadmanagerV1::BlobstoreLocation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb

Overview

Policy ID that identified data placement in Blobstore as per go/blobstore-user- guide#data-metadata-placement-and-failure-domains

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BlobstoreLocation

Returns a new instance of BlobstoreLocation.



134
135
136
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 134

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#policy_idArray<String>

Corresponds to the JSON property policyId

Returns:

  • (Array<String>)


132
133
134
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 132

def policy_id
  @policy_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



139
140
141
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 139

def update!(**args)
  @policy_id = args[:policy_id] if args.key?(:policy_id)
end