Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1UpdateDetails

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

The details of the update.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1UpdateDetails

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1UpdateDetails.



1650
1651
1652
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1650

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

Instance Attribute Details

#org_policy_updateGoogle::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate

Represents an update for an org policy control applied on an Assured Workload resource. The inherited org policy is not considered. Corresponds to the JSON property orgPolicyUpdate



1648
1649
1650
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1648

def org_policy_update
  @org_policy_update
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1655
1656
1657
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1655

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