Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb
Overview
EndpointMatcher contains the information of the endpoint that will match the application.
Instance Attribute Summary collapse
-
#hostname ⇒ String
Required.
-
#ports ⇒ Array<Fixnum>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher
constructor
A new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher
Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher.
2980 2981 2982 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2980 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hostname ⇒ String
Required. Hostname of the application.
Corresponds to the JSON property hostname
2973 2974 2975 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2973 def hostname @hostname end |
#ports ⇒ Array<Fixnum>
Optional. Ports of the application.
Corresponds to the JSON property ports
2978 2979 2980 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2978 def ports @ports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2985 2986 2987 2988 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2985 def update!(**args) @hostname = args[:hostname] if args.key?(:hostname) @ports = args[:ports] if args.key?(:ports) end |