Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2OrgPolicy
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2OrgPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/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.
9274 9275 9276 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9274 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
9272 9273 9274 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9272 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9279 9280 9281 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9279 def update!(**args) @name = args[:name] if args.key?(:name) end |