Class: Google::Apis::SecuritycenterV1beta1::Policy
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Policy
- 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
-
#audit_configs ⇒ Array<Google::Apis::SecuritycenterV1beta1::AuditConfig>
Corresponds to the JSON property
auditConfigs. -
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta1::Binding>
Corresponds to the JSON property
bindings. -
#etag ⇒ String
Corresponds to the JSON property
etagNOTE: Values are automatically base64 encoded/decoded in the client library. -
#version ⇒ Fixnum
Corresponds to the JSON property
version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Policy
constructor
A new instance of Policy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Policy
Returns a new instance of Policy.
11098 11099 11100 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11098 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audit_configs ⇒ Array<Google::Apis::SecuritycenterV1beta1::AuditConfig>
Corresponds to the JSON property auditConfigs
11080 11081 11082 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11080 def audit_configs @audit_configs end |
#bindings ⇒ Array<Google::Apis::SecuritycenterV1beta1::Binding>
Corresponds to the JSON property bindings
11085 11086 11087 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11085 def bindings @bindings end |
#etag ⇒ String
Corresponds to the JSON property etag
NOTE: Values are automatically base64 encoded/decoded in the client library.
11091 11092 11093 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11091 def etag @etag end |
#version ⇒ Fixnum
Corresponds to the JSON property version
11096 11097 11098 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11096 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11103 11104 11105 11106 11107 11108 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11103 def update!(**args) @audit_configs = args[:audit_configs] if args.key?(:audit_configs) @bindings = args[:bindings] if args.key?(:bindings) @etag = args[:etag] if args.key?(:etag) @version = args[:version] if args.key?(:version) end |