Class: Google::Apis::ComputeBeta::WorkloadIdentityConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkloadIdentityConfig

Returns a new instance of WorkloadIdentityConfig.



74310
74311
74312
# File 'lib/google/apis/compute_beta/classes.rb', line 74310

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

Instance Attribute Details

#identityString

Corresponds to the JSON property identity

Returns:

  • (String)


74302
74303
74304
# File 'lib/google/apis/compute_beta/classes.rb', line 74302

def identity
  @identity
end

#identity_certificate_enabledBoolean Also known as: identity_certificate_enabled?

Corresponds to the JSON property identityCertificateEnabled

Returns:

  • (Boolean)


74307
74308
74309
# File 'lib/google/apis/compute_beta/classes.rb', line 74307

def identity_certificate_enabled
  @identity_certificate_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



74315
74316
74317
74318
# File 'lib/google/apis/compute_beta/classes.rb', line 74315

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