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.
4023 4024 4025 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 4023 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
4015 4016 4017 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 4015 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
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 |