Class: Google::Apis::GkehubV1alpha::IdentityServiceDiagnosticInterface
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::IdentityServiceDiagnosticInterface
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
Configuration options for the AIS diagnostic interface.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Determines whether to enable the diagnostic interface.
-
#expiration_time ⇒ String
Determines the expiration time of the diagnostic interface enablement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IdentityServiceDiagnosticInterface
constructor
A new instance of IdentityServiceDiagnosticInterface.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IdentityServiceDiagnosticInterface
Returns a new instance of IdentityServiceDiagnosticInterface.
3173 3174 3175 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3173 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Determines whether to enable the diagnostic interface.
Corresponds to the JSON property enabled
3164 3165 3166 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3164 def enabled @enabled end |
#expiration_time ⇒ String
Determines the expiration time of the diagnostic interface enablement. When
reached, requests to the interface would be automatically rejected.
Corresponds to the JSON property expirationTime
3171 3172 3173 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3171 def expiration_time @expiration_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3178 3179 3180 3181 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3178 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) end |