Class: Google::Apis::NetworkconnectivityV1::ServiceConfig
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::ServiceConfig
- 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
-
#eligibility_criteria ⇒ String
Output only.
-
#support_end_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceConfig
constructor
A new instance of ServiceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_criteria ⇒ String
Output only. The eligibility criteria for the service.
Corresponds to the JSON property eligibilityCriteria
3804 3805 3806 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3804 def eligibility_criteria @eligibility_criteria end |
#support_end_time ⇒ String
Output only. The end time for eligibility criteria support. If not specified,
no planned end time is set.
Corresponds to the JSON property supportEndTime
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 |