Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2OrgPolicy
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2OrgPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2OrgPolicy
constructor
A new instance of GoogleCloudSecuritycenterV2OrgPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2OrgPolicy
Returns a new instance of GoogleCloudSecuritycenterV2OrgPolicy.
8357 8358 8359 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
8355 8356 8357 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8355 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8362 8363 8364 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8362 def update!(**args) @name = args[:name] if args.key?(:name) end |