Class: Google::Apis::ComputeAlpha::WorkloadIdentityConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkloadIdentityConfig

Returns a new instance of WorkloadIdentityConfig.



82591
82592
82593
# File 'lib/google/apis/compute_alpha/classes.rb', line 82591

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

Instance Attribute Details

#identityString

Corresponds to the JSON property identity

Returns:

  • (String)


82583
82584
82585
# File 'lib/google/apis/compute_alpha/classes.rb', line 82583

def identity
  @identity
end

#identity_certificate_enabledBoolean Also known as: identity_certificate_enabled?

Corresponds to the JSON property identityCertificateEnabled

Returns:

  • (Boolean)


82588
82589
82590
# File 'lib/google/apis/compute_alpha/classes.rb', line 82588

def identity_certificate_enabled
  @identity_certificate_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82596
82597
82598
82599
# File 'lib/google/apis/compute_alpha/classes.rb', line 82596

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