Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata
- 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.
-
#resource_settings ⇒ Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata
constructor
A new instance of GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata
Returns a new instance of GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata.
724 725 726 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 724 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
701 702 703 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 701 def compliance_regime @compliance_regime end |
#create_time ⇒ String
Optional. Time when the operation was created.
Corresponds to the JSON property createTime
706 707 708 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 706 def create_time @create_time end |
#display_name ⇒ String
Optional. The display name of the workload.
Corresponds to the JSON property displayName
711 712 713 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 711 def display_name @display_name end |
#parent ⇒ String
Optional. The parent of the workload.
Corresponds to the JSON property parent
716 717 718 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 716 def parent @parent end |
#resource_settings ⇒ Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsVersioningV1mainWorkloadResourceSettings>
Optional. Resource properties in the input that are used for creating/
customizing workload resources.
Corresponds to the JSON property resourceSettings
722 723 724 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 722 def resource_settings @resource_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
729 730 731 732 733 734 735 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 729 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) @resource_settings = args[:resource_settings] if args.key?(:resource_settings) end |