Class: Google::Apis::ComputeBeta::WorkloadIdentityConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::WorkloadIdentityConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#identity ⇒ String
Corresponds to the JSON property
identity. -
#identity_certificate_enabled ⇒ Boolean
(also: #identity_certificate_enabled?)
Corresponds to the JSON property
identityCertificateEnabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkloadIdentityConfig
constructor
A new instance of WorkloadIdentityConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkloadIdentityConfig
Returns a new instance of WorkloadIdentityConfig.
73041 73042 73043 |
# File 'lib/google/apis/compute_beta/classes.rb', line 73041 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identity ⇒ String
Corresponds to the JSON property identity
73033 73034 73035 |
# File 'lib/google/apis/compute_beta/classes.rb', line 73033 def identity @identity end |
#identity_certificate_enabled ⇒ Boolean Also known as: identity_certificate_enabled?
Corresponds to the JSON property identityCertificateEnabled
73038 73039 73040 |
# File 'lib/google/apis/compute_beta/classes.rb', line 73038 def identity_certificate_enabled @identity_certificate_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
73046 73047 73048 73049 |
# File 'lib/google/apis/compute_beta/classes.rb', line 73046 def update!(**args) @identity = args[:identity] if args.key?(:identity) @identity_certificate_enabled = args[:identity_certificate_enabled] if args.key?(:identity_certificate_enabled) end |