Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb
Overview
A BeyondCorp Subscription resource represents BeyondCorp Enterprise Subscription. BeyondCorp Enterprise Subscription enables BeyondCorp Enterprise permium features for an organization.
Instance Attribute Summary collapse
-
#auto_renew_enabled ⇒ Boolean
(also: #auto_renew_enabled?)
Output only.
-
#billing_account ⇒ String
Optional.
-
#create_time ⇒ String
Output only.
-
#end_time ⇒ String
Output only.
-
#name ⇒ String
Required.
-
#seat_count ⇒ Fixnum
Optional.
-
#sku ⇒ String
Required.
-
#start_time ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
constructor
A new instance of GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
Returns a new instance of GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription.
2805 2806 2807 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2805 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_renew_enabled ⇒ Boolean Also known as: auto_renew_enabled?
Output only. Represents that, if subscription will renew or end when the term
ends.
Corresponds to the JSON property autoRenewEnabled
2755 2756 2757 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2755 def auto_renew_enabled @auto_renew_enabled end |
#billing_account ⇒ String
Optional. Name of the billing account in the format. e.g. billingAccounts/
123456-123456-123456 Required if Subscription is of Paid type.
Corresponds to the JSON property billingAccount
2762 2763 2764 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2762 def billing_account @billing_account end |
#create_time ⇒ String
Output only. Create time of the subscription.
Corresponds to the JSON property createTime
2767 2768 2769 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2767 def create_time @create_time end |
#end_time ⇒ String
Output only. End time of the subscription.
Corresponds to the JSON property endTime
2772 2773 2774 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2772 def end_time @end_time end |
#name ⇒ String
Required. Unique resource name of the Subscription. The name is ignored when
creating a subscription.
Corresponds to the JSON property name
2778 2779 2780 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2778 def name @name end |
#seat_count ⇒ Fixnum
Optional. Number of seats in the subscription.
Corresponds to the JSON property seatCount
2783 2784 2785 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2783 def seat_count @seat_count end |
#sku ⇒ String
Required. SKU of subscription.
Corresponds to the JSON property sku
2788 2789 2790 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2788 def sku @sku end |
#start_time ⇒ String
Output only. Start time of the subscription.
Corresponds to the JSON property startTime
2793 2794 2795 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2793 def start_time @start_time end |
#state ⇒ String
Output only. The current state of the subscription.
Corresponds to the JSON property state
2798 2799 2800 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2798 def state @state end |
#type ⇒ String
Required. Type of subscription.
Corresponds to the JSON property type
2803 2804 2805 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2803 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2810 def update!(**args) @auto_renew_enabled = args[:auto_renew_enabled] if args.key?(:auto_renew_enabled) @billing_account = args[:billing_account] if args.key?(:billing_account) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) @name = args[:name] if args.key?(:name) @seat_count = args[:seat_count] if args.key?(:seat_count) @sku = args[:sku] if args.key?(:sku) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) end |