Class: Google::Apis::NetworksecurityV1::GoogleCloudNetworksecurityV1GrpcEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1::GoogleCloudNetworksecurityV1GrpcEndpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networksecurity_v1/classes.rb,
lib/google/apis/networksecurity_v1/representations.rb,
lib/google/apis/networksecurity_v1/representations.rb
Overview
Specification of the GRPC Endpoint.
Instance Attribute Summary collapse
-
#target_uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudNetworksecurityV1GrpcEndpoint
constructor
A new instance of GoogleCloudNetworksecurityV1GrpcEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudNetworksecurityV1GrpcEndpoint
Returns a new instance of GoogleCloudNetworksecurityV1GrpcEndpoint.
821 822 823 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 821 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_uri ⇒ String
Required. The target URI of the gRPC endpoint. Only UDS path is supported, and
should start with "unix:".
Corresponds to the JSON property targetUri
819 820 821 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 819 def target_uri @target_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
826 827 828 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 826 def update!(**args) @target_uri = args[:target_uri] if args.key?(:target_uri) end |