Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/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) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher
constructor
A new instance of GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher
Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher.
1742 1743 1744 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1742 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hostname ⇒ String
Required. Hostname of the application.
Corresponds to the JSON property hostname
1735 1736 1737 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1735 def hostname @hostname end |
#ports ⇒ Array<Fixnum>
Optional. Ports of the application.
Corresponds to the JSON property ports
1740 1741 1742 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1740 def ports @ports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1747 1748 1749 1750 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1747 def update!(**args) @hostname = args[:hostname] if args.key?(:hostname) @ports = args[:ports] if args.key?(:ports) end |