Class: Google::Apis::SecuritycenterV1beta1::OrgPolicy
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::OrgPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrgPolicy
constructor
A new instance of OrgPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrgPolicy
Returns a new instance of OrgPolicy.
11044 11045 11046 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11044 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
11042 11043 11044 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11042 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11049 11050 11051 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11049 def update!(**args) @name = args[:name] if args.key?(:name) end |