Class: Google::Apis::SecuritycenterV1beta2::Subscription
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Subscription
- 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
-
#details ⇒ Google::Apis::SecuritycenterV1beta2::Details
Corresponds to the JSON property
details. -
#name ⇒ String
Corresponds to the JSON property
name. -
#tier ⇒ String
Corresponds to the JSON property
tier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Subscription
constructor
A new instance of Subscription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Subscription
Returns a new instance of Subscription.
11327 11328 11329 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ Google::Apis::SecuritycenterV1beta2::Details
Corresponds to the JSON property details
11315 11316 11317 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11315 def details @details end |
#name ⇒ String
Corresponds to the JSON property name
11320 11321 11322 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11320 def name @name end |
#tier ⇒ String
Corresponds to the JSON property tier
11325 11326 11327 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11325 def tier @tier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11332 11333 11334 11335 11336 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11332 def update!(**args) @details = args[:details] if args.key?(:details) @name = args[:name] if args.key?(:name) @tier = args[:tier] if args.key?(:tier) end |