Package types (0.1.5)

API documentation for network_security_v1beta1.types package.

Classes

AuthorizationPolicy

AuthorizationPolicy is a resource that specifies how a server should authorize incoming connections. This resource in itself does not change the configuration unless it's attached to a target https proxy or endpoint config selector resource.

CertificateProvider

Specification of certificate provider. Defines the mechanism to obtain the certificate and private key for peer to peer authentication.

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.

ClientTlsPolicy

ClientTlsPolicy is a resource that specifies how a client should authenticate connections to backends of a service. This resource itself does not affect configuration unless it is attached to a backend service resource.

CreateAuthorizationPolicyRequest

Request used by the CreateAuthorizationPolicy method. .. attribute:: parent

Required. The parent resource of the AuthorizationPolicy. Must be in the format projects/{project}/locations/{location}.

:type: str

CreateClientTlsPolicyRequest

Request used by the CreateClientTlsPolicy method. .. attribute:: parent

Required. The parent resource of the ClientTlsPolicy. Must be in the format projects/*/locations/{location}.

:type: str

CreateServerTlsPolicyRequest

Request used by the CreateServerTlsPolicy method. .. attribute:: parent

Required. The parent resource of the ServerTlsPolicy. Must be in the format projects/*/locations/{location}.

:type: str

DeleteAuthorizationPolicyRequest

Request used by the DeleteAuthorizationPolicy method. .. attribute:: name

Required. A name of the AuthorizationPolicy to delete. Must be in the format projects/{project}/locations/{location}/authorizationPolicies/*.

:type: str

DeleteClientTlsPolicyRequest

Request used by the DeleteClientTlsPolicy method. .. attribute:: name

Required. A name of the ClientTlsPolicy to delete. Must be in the format projects/*/locations/{location}/clientTlsPolicies/*.

:type: str

DeleteServerTlsPolicyRequest

Request used by the DeleteServerTlsPolicy method. .. attribute:: name

Required. A name of the ServerTlsPolicy to delete. Must be in the format projects/*/locations/{location}/serverTlsPolicies/*.

:type: str

GetAuthorizationPolicyRequest

Request used by the GetAuthorizationPolicy method. .. attribute:: name

Required. A name of the AuthorizationPolicy to get. Must be in the format projects/{project}/locations/{location}/authorizationPolicies/*.

:type: str

GetClientTlsPolicyRequest

Request used by the GetClientTlsPolicy method. .. attribute:: name

Required. A name of the ClientTlsPolicy to get. Must be in the format projects/*/locations/{location}/clientTlsPolicies/*.

:type: str

GetServerTlsPolicyRequest

Request used by the GetServerTlsPolicy method. .. attribute:: name

Required. A name of the ServerTlsPolicy to get. Must be in the format projects/*/locations/{location}/serverTlsPolicies/*.

:type: str

GrpcEndpoint

Specification of the GRPC Endpoint. .. attribute:: target_uri

Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with “unix:”.

:type: str

ListAuthorizationPoliciesRequest

Request used with the ListAuthorizationPolicies method. .. attribute:: parent

Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format projects/{project}/locations/{location}.

:type: str

ListAuthorizationPoliciesResponse

Response returned by the ListAuthorizationPolicies method. .. attribute:: authorization_policies

List of AuthorizationPolicies resources.

:type: Sequence[google.cloud.network_security_v1beta1.types.AuthorizationPolicy]

ListClientTlsPoliciesRequest

Request used by the ListClientTlsPolicies method. .. attribute:: parent

Required. The project and location from which the ClientTlsPolicies should be listed, specified in the format projects/*/locations/{location}.

:type: str

ListClientTlsPoliciesResponse

Response returned by the ListClientTlsPolicies method. .. attribute:: client_tls_policies

List of ClientTlsPolicy resources.

:type: Sequence[google.cloud.network_security_v1beta1.types.ClientTlsPolicy]

ListServerTlsPoliciesRequest

Request used by the ListServerTlsPolicies method. .. attribute:: parent

Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format projects/*/locations/{location}.

:type: str

ListServerTlsPoliciesResponse

Response returned by the ListServerTlsPolicies method. .. attribute:: server_tls_policies

List of ServerTlsPolicy resources.

:type: Sequence[google.cloud.network_security_v1beta1.types.ServerTlsPolicy]

OperationMetadata

Represents the metadata of the long-running operation. .. attribute:: create_time

Output only. The time the operation was created.

:type: google.protobuf.timestamp_pb2.Timestamp

ServerTlsPolicy

ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target https proxy or endpoint config selector resource.

UpdateAuthorizationPolicyRequest

Request used by the UpdateAuthorizationPolicy method. .. attribute:: update_mask

Optional. Field mask is used to specify the fields to be overwritten in the AuthorizationPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

:type: google.protobuf.field_mask_pb2.FieldMask

UpdateClientTlsPolicyRequest

Request used by UpdateClientTlsPolicy method. .. attribute:: update_mask

Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

:type: google.protobuf.field_mask_pb2.FieldMask

UpdateServerTlsPolicyRequest

Request used by UpdateServerTlsPolicy method. .. attribute:: update_mask

Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

:type: google.protobuf.field_mask_pb2.FieldMask

ValidationCA

Specification of ValidationCA. Defines the mechanism to obtain the Certificate Authority certificate to validate the peer certificate.