Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions

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

Overview

Options to be set for the given created workload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions.



1718
1719
1720
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1718

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)


1716
1717
1718
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1716

def kaj_enrollment_type
  @kaj_enrollment_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1723
1724
1725
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1723

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