class Google::Apis::SecuritycenterV1beta2::Subscription

Resource capturing the state of an organization's subscription.

Attributes

details[RW]

Details of a subscription. Corresponds to the JSON property `details` @return [Google::Apis::SecuritycenterV1beta2::Details]

name[RW]

The resource name of the subscription. Format: organizations/`organization`/ subscription Corresponds to the JSON property `name` @return [String]

tier[RW]

The tier of SCC features this organization currently has access to. Corresponds to the JSON property `tier` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/securitycenter_v1beta2/classes.rb, line 1100
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/securitycenter_v1beta2/classes.rb, line 1105
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