Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions

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

Overview

Options to be set for the given created workload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions

Returns a new instance of GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions.



2456
2457
2458
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 2456

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

Instance Attribute Details

#kaj_enrollment_typeString

Optional. Specifies type of KAJ Enrollment if provided. Corresponds to the JSON property kajEnrollmentType

Returns:

  • (String)


2454
2455
2456
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 2454

def kaj_enrollment_type
  @kaj_enrollment_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2461
2462
2463
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 2461

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