Class: Google::Apis::NetworksecurityV1::GoogleCloudNetworksecurityV1GrpcEndpoint

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudNetworksecurityV1GrpcEndpoint

Returns a new instance of GoogleCloudNetworksecurityV1GrpcEndpoint.



794
795
796
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 794

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#target_uriString

Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:". Corresponds to the JSON property targetUri

Returns:

  • (String)


792
793
794
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 792

def target_uri
  @target_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



799
800
801
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 799

def update!(**args)
  @target_uri = args[:target_uri] if args.key?(:target_uri)
end