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.



3812
3813
3814
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3812

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)


3804
3805
3806
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3804

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)


3810
3811
3812
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3810

def support_end_time
  @support_end_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3817
3818
3819
3820
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3817

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