Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse

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

Signed Access Approvals (SAA) enrollment response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse.



1161
1162
1163
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1161

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

Instance Attribute Details

#setup_errorsArray<String>

Indicates SAA enrollment setup error if any. Corresponds to the JSON property setupErrors

Returns:

  • (Array<String>)


1154
1155
1156
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1154

def setup_errors
  @setup_errors
end

#setup_statusString

Indicates SAA enrollment status of a given workload. Corresponds to the JSON property setupStatus

Returns:

  • (String)


1159
1160
1161
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1159

def setup_status
  @setup_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1166
1167
1168
1169
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1166

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