Class: Google::Apis::NetworkconnectivityV1::ServiceConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb

Overview

Specifies eligibility information for the service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceConfig

Returns a new instance of ServiceConfig.



4023
4024
4025
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 4023

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

Instance Attribute Details

#eligibility_criteriaString

Output only. The eligibility criteria for the service. Corresponds to the JSON property eligibilityCriteria

Returns:

  • (String)


4015
4016
4017
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 4015

def eligibility_criteria
  @eligibility_criteria
end

#support_end_timeString

Output only. The end time for eligibility criteria support. If not specified, no planned end time is set. Corresponds to the JSON property supportEndTime

Returns:

  • (String)


4021
4022
4023
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 4021

def support_end_time
  @support_end_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4028
4029
4030
4031
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 4028

def update!(**args)
  @eligibility_criteria = args[:eligibility_criteria] if args.key?(:eligibility_criteria)
  @support_end_time = args[:support_end_time] if args.key?(:support_end_time)
end