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.



86642
86643
86644
# File 'lib/google/apis/compute_alpha/classes.rb', line 86642

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

Instance Attribute Details

#identityString

Corresponds to the JSON property identity

Returns:

  • (String)


86629
86630
86631
# File 'lib/google/apis/compute_alpha/classes.rb', line 86629

def identity
  @identity
end

#identity_certificate_enabledBoolean Also known as: identity_certificate_enabled?

Corresponds to the JSON property identityCertificateEnabled

Returns:

  • (Boolean)


86634
86635
86636
# File 'lib/google/apis/compute_alpha/classes.rb', line 86634

def identity_certificate_enabled
  @identity_certificate_enabled
end

#identity_typeString

Corresponds to the JSON property identityType

Returns:

  • (String)


86640
86641
86642
# File 'lib/google/apis/compute_alpha/classes.rb', line 86640

def identity_type
  @identity_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



86647
86648
86649
86650
86651
# File 'lib/google/apis/compute_alpha/classes.rb', line 86647

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