Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
- 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
Operation metadata to give request details of CreateWorkload.
Instance Attribute Summary collapse
-
#compliance_regime ⇒ String
Optional.
-
#create_time ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#parent ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
constructor
A new instance of GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata
Returns a new instance of GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata.
564 565 566 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 564 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compliance_regime ⇒ String
Optional. Compliance controls that should be applied to the resources managed
by the workload.
Corresponds to the JSON property complianceRegime
547 548 549 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 547 def compliance_regime @compliance_regime end |
#create_time ⇒ String
Optional. Time when the operation was created.
Corresponds to the JSON property createTime
552 553 554 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 552 def create_time @create_time end |
#display_name ⇒ String
Optional. The display name of the workload.
Corresponds to the JSON property displayName
557 558 559 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 557 def display_name @display_name end |
#parent ⇒ String
Optional. The parent of the workload.
Corresponds to the JSON property parent
562 563 564 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 562 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
569 570 571 572 573 574 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 569 def update!(**args) @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @parent = args[:parent] if args.key?(:parent) end |