Class: Google::Apis::NetworksecurityV1::ValidationCa
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1::ValidationCa
- 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 ValidationCA. Defines the mechanism to obtain the Certificate Authority certificate to validate the peer certificate.
Instance Attribute Summary collapse
-
#certificate_provider_instance ⇒ Google::Apis::NetworksecurityV1::CertificateProviderInstance
Specification of a TLS certificate provider instance.
-
#grpc_endpoint ⇒ Google::Apis::NetworksecurityV1::GoogleCloudNetworksecurityV1GrpcEndpoint
Specification of the GRPC Endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidationCa
constructor
A new instance of ValidationCa.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidationCa
Returns a new instance of ValidationCa.
1922 1923 1924 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1922 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_provider_instance ⇒ Google::Apis::NetworksecurityV1::CertificateProviderInstance
Specification of a TLS certificate provider instance. Workloads may have one
or more CertificateProvider instances (plugins) and one of them is enabled and
configured by specifying this message. Workloads use the values from this
message to locate and load the CertificateProvider instance configuration.
Corresponds to the JSON property certificateProviderInstance
1915 1916 1917 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1915 def certificate_provider_instance @certificate_provider_instance end |
#grpc_endpoint ⇒ Google::Apis::NetworksecurityV1::GoogleCloudNetworksecurityV1GrpcEndpoint
Specification of the GRPC Endpoint.
Corresponds to the JSON property grpcEndpoint
1920 1921 1922 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1920 def grpc_endpoint @grpc_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1927 1928 1929 1930 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1927 def update!(**args) @certificate_provider_instance = args[:certificate_provider_instance] if args.key?(:certificate_provider_instance) @grpc_endpoint = args[:grpc_endpoint] if args.key?(:grpc_endpoint) end |