Class: Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations
- Inherits:
-
Object
- Object
- Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iamcredentials_v1/classes.rb,
lib/google/apis/iamcredentials_v1/representations.rb,
lib/google/apis/iamcredentials_v1/representations.rb
Overview
Represents a list of allowed locations for given workload identity pool.
Instance Attribute Summary collapse
-
#encoded_locations ⇒ String
Output only.
-
#locations ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkloadIdentityPoolAllowedLocations
constructor
A new instance of WorkloadIdentityPoolAllowedLocations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkloadIdentityPoolAllowedLocations
Returns a new instance of WorkloadIdentityPoolAllowedLocations.
385 386 387 |
# File 'lib/google/apis/iamcredentials_v1/classes.rb', line 385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encoded_locations ⇒ String
Output only. The hex encoded bitmap of the trust boundary locations
Corresponds to the JSON property encodedLocations
377 378 379 |
# File 'lib/google/apis/iamcredentials_v1/classes.rb', line 377 def encoded_locations @encoded_locations end |
#locations ⇒ Array<String>
Output only. The human readable trust boundary locations. For example, ["us-
central1", "europe-west1"]
Corresponds to the JSON property locations
383 384 385 |
# File 'lib/google/apis/iamcredentials_v1/classes.rb', line 383 def locations @locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
390 391 392 393 |
# File 'lib/google/apis/iamcredentials_v1/classes.rb', line 390 def update!(**args) @encoded_locations = args[:encoded_locations] if args.key?(:encoded_locations) @locations = args[:locations] if args.key?(:locations) end |