Class: Google::Apis::ComputeAlpha::WorkloadIdentityConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::WorkloadIdentityConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/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. -
#identity_type ⇒ String
Corresponds to the JSON property
identityType.
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.
85912 85913 85914 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 85912 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identity ⇒ String
Corresponds to the JSON property identity
85899 85900 85901 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 85899 def identity @identity end |
#identity_certificate_enabled ⇒ Boolean Also known as: identity_certificate_enabled?
Corresponds to the JSON property identityCertificateEnabled
85904 85905 85906 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 85904 def identity_certificate_enabled @identity_certificate_enabled end |
#identity_type ⇒ String
Corresponds to the JSON property identityType
85910 85911 85912 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 85910 def identity_type @identity_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
85917 85918 85919 85920 85921 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 85917 def update!(**args) @identity = args[:identity] if args.key?(:identity) @identity_certificate_enabled = args[:identity_certificate_enabled] if args.key?(:identity_certificate_enabled) @identity_type = args[:identity_type] if args.key?(:identity_type) end |