Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription

Returns a new instance of GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription.



2558
2559
2560
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2558

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auto_renew_enabledBoolean 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

Returns:

  • (Boolean)


2514
2515
2516
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2514

def auto_renew_enabled
  @auto_renew_enabled
end

#create_timeString

Output only. Create time of the subscription. Corresponds to the JSON property createTime

Returns:

  • (String)


2520
2521
2522
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2520

def create_time
  @create_time
end

#end_timeString

Output only. End time of the subscription. Corresponds to the JSON property endTime

Returns:

  • (String)


2525
2526
2527
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2525

def end_time
  @end_time
end

#nameString

Required. Unique resource name of the Subscription. The name is ignored when creating a subscription. Corresponds to the JSON property name

Returns:

  • (String)


2531
2532
2533
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2531

def name
  @name
end

#seat_countFixnum

Output only. Number of seats in the subscription. Corresponds to the JSON property seatCount

Returns:

  • (Fixnum)


2536
2537
2538
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2536

def seat_count
  @seat_count
end

#skuString

Required. SKU of subscription. Corresponds to the JSON property sku

Returns:

  • (String)


2541
2542
2543
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2541

def sku
  @sku
end

#start_timeString

Output only. Start time of the subscription. Corresponds to the JSON property startTime

Returns:

  • (String)


2546
2547
2548
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2546

def start_time
  @start_time
end

#stateString

Output only. The current state of the subscription. Corresponds to the JSON property state

Returns:

  • (String)


2551
2552
2553
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2551

def state
  @state
end

#typeString

Required. Type of subscription. Corresponds to the JSON property type

Returns:

  • (String)


2556
2557
2558
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2556

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2563

def update!(**args)
  @auto_renew_enabled = args[:auto_renew_enabled] if args.key?(:auto_renew_enabled)
  @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