Class: Google::Apis::ComputeV1::WorkloadIdentityConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkloadIdentityConfig

Returns a new instance of WorkloadIdentityConfig.



64063
64064
64065
# File 'lib/google/apis/compute_v1/classes.rb', line 64063

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

Instance Attribute Details

#identityString

Corresponds to the JSON property identity

Returns:

  • (String)


64055
64056
64057
# File 'lib/google/apis/compute_v1/classes.rb', line 64055

def identity
  @identity
end

#identity_certificate_enabledBoolean Also known as: identity_certificate_enabled?

Corresponds to the JSON property identityCertificateEnabled

Returns:

  • (Boolean)


64060
64061
64062
# File 'lib/google/apis/compute_v1/classes.rb', line 64060

def identity_certificate_enabled
  @identity_certificate_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



64068
64069
64070
64071
# File 'lib/google/apis/compute_v1/classes.rb', line 64068

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