Summary of entries of Methods for networksecurity.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient
NetworkSecurityAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.network_security_v1.services.network_security.transports.base.NetworkSecurityTransport, typing.Callable[[...], google.cloud.network_security_v1.services.network_security.transports.base.NetworkSecurityTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the network security async client.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.authorization_policy_path
authorization_policy_path(
project: str, location: str, authorization_policy: str
) -> str
Returns a fully-qualified authorization_policy string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.client_tls_policy_path
client_tls_policy_path(project: str, location: str, client_tls_policy: str) -> str
Returns a fully-qualified client_tls_policy string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.create_authorization_policy
create_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.authorization_policy.CreateAuthorizationPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
authorization_policy: typing.Optional[
google.cloud.network_security_v1.types.authorization_policy.AuthorizationPolicy
] = None,
authorization_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new AuthorizationPolicy in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.create_client_tls_policy
create_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.client_tls_policy.CreateClientTlsPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
client_tls_policy: typing.Optional[
google.cloud.network_security_v1.types.client_tls_policy.ClientTlsPolicy
] = None,
client_tls_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new ClientTlsPolicy in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.create_server_tls_policy
create_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.server_tls_policy.CreateServerTlsPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
server_tls_policy: typing.Optional[
google.cloud.network_security_v1.types.server_tls_policy.ServerTlsPolicy
] = None,
server_tls_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new ServerTlsPolicy in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.delete_authorization_policy
delete_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.authorization_policy.DeleteAuthorizationPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a single AuthorizationPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.delete_client_tls_policy
delete_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.client_tls_policy.DeleteClientTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a single ClientTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a long-running operation.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.delete_server_tls_policy
delete_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.server_tls_policy.DeleteServerTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a single ServerTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_authorization_policy
get_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.authorization_policy.GetAuthorizationPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.network_security_v1.types.authorization_policy.AuthorizationPolicy
Gets details of a single AuthorizationPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_client_tls_policy
get_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.client_tls_policy.GetClientTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.network_security_v1.types.client_tls_policy.ClientTlsPolicy
Gets details of a single ClientTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM access control policy for a function.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_iam_policy
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_location
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_operation
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_server_tls_policy
get_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.server_tls_policy.GetServerTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.network_security_v1.types.server_tls_policy.ServerTlsPolicy
Gets details of a single ServerTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.network_security_v1.services.network_security.transports.base.NetworkSecurityTransport
]
Returns an appropriate transport class.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.list_authorization_policies
list_authorization_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.authorization_policy.ListAuthorizationPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1.services.network_security.pagers.ListAuthorizationPoliciesAsyncPager
)
Lists AuthorizationPolicies in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.list_client_tls_policies
list_client_tls_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.client_tls_policy.ListClientTlsPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1.services.network_security.pagers.ListClientTlsPoliciesAsyncPager
)
Lists ClientTlsPolicies in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.list_locations
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.list_server_tls_policies
list_server_tls_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.server_tls_policy.ListServerTlsPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1.services.network_security.pagers.ListServerTlsPoliciesAsyncPager
)
Lists ServerTlsPolicies in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.parse_authorization_policy_path
parse_authorization_policy_path(path: str) -> typing.Dict[str, str]
Parses a authorization_policy path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.parse_client_tls_policy_path
parse_client_tls_policy_path(path: str) -> typing.Dict[str, str]
Parses a client_tls_policy path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.parse_server_tls_policy_path
parse_server_tls_policy_path(path: str) -> typing.Dict[str, str]
Parses a server_tls_policy path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.server_tls_policy_path
server_tls_policy_path(project: str, location: str, server_tls_policy: str) -> str
Returns a fully-qualified server_tls_policy string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM access control policy on the specified function.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.set_iam_policy
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.update_authorization_policy
update_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.authorization_policy.UpdateAuthorizationPolicyRequest,
dict,
]
] = None,
*,
authorization_policy: typing.Optional[
google.cloud.network_security_v1.types.authorization_policy.AuthorizationPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the parameters of a single AuthorizationPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.update_client_tls_policy
update_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.client_tls_policy.UpdateClientTlsPolicyRequest,
dict,
]
] = None,
*,
client_tls_policy: typing.Optional[
google.cloud.network_security_v1.types.client_tls_policy.ClientTlsPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the parameters of a single ClientTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityAsyncClient.update_server_tls_policy
update_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.server_tls_policy.UpdateServerTlsPolicyRequest,
dict,
]
] = None,
*,
server_tls_policy: typing.Optional[
google.cloud.network_security_v1.types.server_tls_policy.ServerTlsPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the parameters of a single ServerTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient
NetworkSecurityClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.network_security_v1.services.network_security.transports.base.NetworkSecurityTransport, typing.Callable[[...], google.cloud.network_security_v1.services.network_security.transports.base.NetworkSecurityTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the network security client.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.exit
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.authorization_policy_path
authorization_policy_path(
project: str, location: str, authorization_policy: str
) -> str
Returns a fully-qualified authorization_policy string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.cancel_operation
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.client_tls_policy_path
client_tls_policy_path(project: str, location: str, client_tls_policy: str) -> str
Returns a fully-qualified client_tls_policy string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.common_folder_path
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.common_project_path
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.create_authorization_policy
create_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.authorization_policy.CreateAuthorizationPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
authorization_policy: typing.Optional[
google.cloud.network_security_v1.types.authorization_policy.AuthorizationPolicy
] = None,
authorization_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new AuthorizationPolicy in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.create_client_tls_policy
create_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.client_tls_policy.CreateClientTlsPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
client_tls_policy: typing.Optional[
google.cloud.network_security_v1.types.client_tls_policy.ClientTlsPolicy
] = None,
client_tls_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new ClientTlsPolicy in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.create_server_tls_policy
create_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.server_tls_policy.CreateServerTlsPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
server_tls_policy: typing.Optional[
google.cloud.network_security_v1.types.server_tls_policy.ServerTlsPolicy
] = None,
server_tls_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new ServerTlsPolicy in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.delete_authorization_policy
delete_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.authorization_policy.DeleteAuthorizationPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a single AuthorizationPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.delete_client_tls_policy
delete_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.client_tls_policy.DeleteClientTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a single ClientTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a long-running operation.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.delete_operation
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.delete_server_tls_policy
delete_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.server_tls_policy.DeleteServerTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a single ServerTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.get_authorization_policy
get_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.authorization_policy.GetAuthorizationPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.network_security_v1.types.authorization_policy.AuthorizationPolicy
Gets details of a single AuthorizationPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.get_client_tls_policy
get_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.client_tls_policy.GetClientTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.network_security_v1.types.client_tls_policy.ClientTlsPolicy
Gets details of a single ClientTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.get_iam_policy
get_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM access control policy for a function.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.get_iam_policy
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.get_location
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.get_operation
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.get_server_tls_policy
get_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.server_tls_policy.GetServerTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.network_security_v1.types.server_tls_policy.ServerTlsPolicy
Gets details of a single ServerTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.list_authorization_policies
list_authorization_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.authorization_policy.ListAuthorizationPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1.services.network_security.pagers.ListAuthorizationPoliciesPager
)
Lists AuthorizationPolicies in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.list_client_tls_policies
list_client_tls_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.client_tls_policy.ListClientTlsPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1.services.network_security.pagers.ListClientTlsPoliciesPager
)
Lists ClientTlsPolicies in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.list_locations
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.list_operations
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.list_server_tls_policies
list_server_tls_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.server_tls_policy.ListServerTlsPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1.services.network_security.pagers.ListServerTlsPoliciesPager
)
Lists ServerTlsPolicies in a given project and location.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.parse_authorization_policy_path
parse_authorization_policy_path(path: str) -> typing.Dict[str, str]
Parses a authorization_policy path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.parse_client_tls_policy_path
parse_client_tls_policy_path(path: str) -> typing.Dict[str, str]
Parses a client_tls_policy path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.parse_server_tls_policy_path
parse_server_tls_policy_path(path: str) -> typing.Dict[str, str]
Parses a server_tls_policy path into its component segments.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.server_tls_policy_path
server_tls_policy_path(project: str, location: str, server_tls_policy: str) -> str
Returns a fully-qualified server_tls_policy string.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.set_iam_policy
set_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM access control policy on the specified function.
See more: google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.set_iam_policy
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.update_authorization_policy
update_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.authorization_policy.UpdateAuthorizationPolicyRequest,
dict,
]
] = None,
*,
authorization_policy: typing.Optional[
google.cloud.network_security_v1.types.authorization_policy.AuthorizationPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the parameters of a single AuthorizationPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.update_client_tls_policy
update_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.client_tls_policy.UpdateClientTlsPolicyRequest,
dict,
]
] = None,
*,
client_tls_policy: typing.Optional[
google.cloud.network_security_v1.types.client_tls_policy.ClientTlsPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the parameters of a single ClientTlsPolicy.
google.cloud.network_security_v1.services.network_security.NetworkSecurityClient.update_server_tls_policy
update_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1.types.server_tls_policy.UpdateServerTlsPolicyRequest,
dict,
]
] = None,
*,
server_tls_policy: typing.Optional[
google.cloud.network_security_v1.types.server_tls_policy.ServerTlsPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the parameters of a single ServerTlsPolicy.
google.cloud.network_security_v1.services.network_security.pagers.ListAuthorizationPoliciesAsyncPager
ListAuthorizationPoliciesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.network_security_v1.types.authorization_policy.ListAuthorizationPoliciesResponse
],
],
request: google.cloud.network_security_v1.types.authorization_policy.ListAuthorizationPoliciesRequest,
response: google.cloud.network_security_v1.types.authorization_policy.ListAuthorizationPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
google.cloud.network_security_v1.services.network_security.pagers.ListAuthorizationPoliciesPager
ListAuthorizationPoliciesPager(
method: typing.Callable[
[...],
google.cloud.network_security_v1.types.authorization_policy.ListAuthorizationPoliciesResponse,
],
request: google.cloud.network_security_v1.types.authorization_policy.ListAuthorizationPoliciesRequest,
response: google.cloud.network_security_v1.types.authorization_policy.ListAuthorizationPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.network_security_v1.services.network_security.pagers.ListAuthorizationPoliciesPager
google.cloud.network_security_v1.services.network_security.pagers.ListClientTlsPoliciesAsyncPager
ListClientTlsPoliciesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.network_security_v1.types.client_tls_policy.ListClientTlsPoliciesResponse
],
],
request: google.cloud.network_security_v1.types.client_tls_policy.ListClientTlsPoliciesRequest,
response: google.cloud.network_security_v1.types.client_tls_policy.ListClientTlsPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.network_security_v1.services.network_security.pagers.ListClientTlsPoliciesAsyncPager
google.cloud.network_security_v1.services.network_security.pagers.ListClientTlsPoliciesPager
ListClientTlsPoliciesPager(
method: typing.Callable[
[...],
google.cloud.network_security_v1.types.client_tls_policy.ListClientTlsPoliciesResponse,
],
request: google.cloud.network_security_v1.types.client_tls_policy.ListClientTlsPoliciesRequest,
response: google.cloud.network_security_v1.types.client_tls_policy.ListClientTlsPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.network_security_v1.services.network_security.pagers.ListClientTlsPoliciesPager
google.cloud.network_security_v1.services.network_security.pagers.ListServerTlsPoliciesAsyncPager
ListServerTlsPoliciesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.network_security_v1.types.server_tls_policy.ListServerTlsPoliciesResponse
],
],
request: google.cloud.network_security_v1.types.server_tls_policy.ListServerTlsPoliciesRequest,
response: google.cloud.network_security_v1.types.server_tls_policy.ListServerTlsPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.network_security_v1.services.network_security.pagers.ListServerTlsPoliciesAsyncPager
google.cloud.network_security_v1.services.network_security.pagers.ListServerTlsPoliciesPager
ListServerTlsPoliciesPager(
method: typing.Callable[
[...],
google.cloud.network_security_v1.types.server_tls_policy.ListServerTlsPoliciesResponse,
],
request: google.cloud.network_security_v1.types.server_tls_policy.ListServerTlsPoliciesRequest,
response: google.cloud.network_security_v1.types.server_tls_policy.ListServerTlsPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.network_security_v1.services.network_security.pagers.ListServerTlsPoliciesPager
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient
NetworkSecurityAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.network_security_v1beta1.services.network_security.transports.base.NetworkSecurityTransport, typing.Callable[[...], google.cloud.network_security_v1beta1.services.network_security.transports.base.NetworkSecurityTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the network security async client.
See more: google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.authorization_policy_path
authorization_policy_path(
project: str, location: str, authorization_policy: str
) -> str
Returns a fully-qualified authorization_policy string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.client_tls_policy_path
client_tls_policy_path(project: str, location: str, client_tls_policy: str) -> str
Returns a fully-qualified client_tls_policy string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.create_authorization_policy
create_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.authorization_policy.CreateAuthorizationPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
authorization_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.authorization_policy.AuthorizationPolicy
] = None,
authorization_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new AuthorizationPolicy in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.create_client_tls_policy
create_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.client_tls_policy.CreateClientTlsPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
client_tls_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.client_tls_policy.ClientTlsPolicy
] = None,
client_tls_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new ClientTlsPolicy in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.create_server_tls_policy
create_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.server_tls_policy.CreateServerTlsPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
server_tls_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.server_tls_policy.ServerTlsPolicy
] = None,
server_tls_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new ServerTlsPolicy in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.delete_authorization_policy
delete_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.authorization_policy.DeleteAuthorizationPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a single AuthorizationPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.delete_client_tls_policy
delete_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.client_tls_policy.DeleteClientTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a single ClientTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a long-running operation.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.delete_server_tls_policy
delete_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.server_tls_policy.DeleteServerTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a single ServerTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.get_authorization_policy
get_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.authorization_policy.GetAuthorizationPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1beta1.types.authorization_policy.AuthorizationPolicy
)
Gets details of a single AuthorizationPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.get_client_tls_policy
get_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.client_tls_policy.GetClientTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.network_security_v1beta1.types.client_tls_policy.ClientTlsPolicy
Gets details of a single ClientTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM access control policy for a function.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.get_server_tls_policy
get_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.server_tls_policy.GetServerTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.network_security_v1beta1.types.server_tls_policy.ServerTlsPolicy
Gets details of a single ServerTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.network_security_v1beta1.services.network_security.transports.base.NetworkSecurityTransport
]
Returns an appropriate transport class.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.list_authorization_policies
list_authorization_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.authorization_policy.ListAuthorizationPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1beta1.services.network_security.pagers.ListAuthorizationPoliciesAsyncPager
)
Lists AuthorizationPolicies in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.list_client_tls_policies
list_client_tls_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.client_tls_policy.ListClientTlsPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1beta1.services.network_security.pagers.ListClientTlsPoliciesAsyncPager
)
Lists ClientTlsPolicies in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.list_server_tls_policies
list_server_tls_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.server_tls_policy.ListServerTlsPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1beta1.services.network_security.pagers.ListServerTlsPoliciesAsyncPager
)
Lists ServerTlsPolicies in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.parse_authorization_policy_path
parse_authorization_policy_path(path: str) -> typing.Dict[str, str]
Parses a authorization_policy path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.parse_client_tls_policy_path
parse_client_tls_policy_path(path: str) -> typing.Dict[str, str]
Parses a client_tls_policy path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.parse_server_tls_policy_path
parse_server_tls_policy_path(path: str) -> typing.Dict[str, str]
Parses a server_tls_policy path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.server_tls_policy_path
server_tls_policy_path(project: str, location: str, server_tls_policy: str) -> str
Returns a fully-qualified server_tls_policy string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM access control policy on the specified function.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.update_authorization_policy
update_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.authorization_policy.UpdateAuthorizationPolicyRequest,
dict,
]
] = None,
*,
authorization_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.authorization_policy.AuthorizationPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the parameters of a single AuthorizationPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.update_client_tls_policy
update_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.client_tls_policy.UpdateClientTlsPolicyRequest,
dict,
]
] = None,
*,
client_tls_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.client_tls_policy.ClientTlsPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the parameters of a single ClientTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityAsyncClient.update_server_tls_policy
update_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.server_tls_policy.UpdateServerTlsPolicyRequest,
dict,
]
] = None,
*,
server_tls_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.server_tls_policy.ServerTlsPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Updates the parameters of a single ServerTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient
NetworkSecurityClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.network_security_v1beta1.services.network_security.transports.base.NetworkSecurityTransport, typing.Callable[[...], google.cloud.network_security_v1beta1.services.network_security.transports.base.NetworkSecurityTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the network security client.
See more: google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.exit
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.authorization_policy_path
authorization_policy_path(
project: str, location: str, authorization_policy: str
) -> str
Returns a fully-qualified authorization_policy string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.client_tls_policy_path
client_tls_policy_path(project: str, location: str, client_tls_policy: str) -> str
Returns a fully-qualified client_tls_policy string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.create_authorization_policy
create_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.authorization_policy.CreateAuthorizationPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
authorization_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.authorization_policy.AuthorizationPolicy
] = None,
authorization_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new AuthorizationPolicy in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.create_client_tls_policy
create_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.client_tls_policy.CreateClientTlsPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
client_tls_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.client_tls_policy.ClientTlsPolicy
] = None,
client_tls_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new ClientTlsPolicy in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.create_server_tls_policy
create_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.server_tls_policy.CreateServerTlsPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
server_tls_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.server_tls_policy.ServerTlsPolicy
] = None,
server_tls_policy_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new ServerTlsPolicy in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.delete_authorization_policy
delete_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.authorization_policy.DeleteAuthorizationPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a single AuthorizationPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.delete_client_tls_policy
delete_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.client_tls_policy.DeleteClientTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a single ClientTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a long-running operation.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.delete_server_tls_policy
delete_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.server_tls_policy.DeleteServerTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a single ServerTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.get_authorization_policy
get_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.authorization_policy.GetAuthorizationPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1beta1.types.authorization_policy.AuthorizationPolicy
)
Gets details of a single AuthorizationPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.get_client_tls_policy
get_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.client_tls_policy.GetClientTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.network_security_v1beta1.types.client_tls_policy.ClientTlsPolicy
Gets details of a single ClientTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.get_iam_policy
get_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM access control policy for a function.
See more: google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.get_iam_policy
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
See more: google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.get_location
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.get_operation
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.get_server_tls_policy
get_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.server_tls_policy.GetServerTlsPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.network_security_v1beta1.types.server_tls_policy.ServerTlsPolicy
Gets details of a single ServerTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.list_authorization_policies
list_authorization_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.authorization_policy.ListAuthorizationPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1beta1.services.network_security.pagers.ListAuthorizationPoliciesPager
)
Lists AuthorizationPolicies in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.list_client_tls_policies
list_client_tls_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.client_tls_policy.ListClientTlsPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1beta1.services.network_security.pagers.ListClientTlsPoliciesPager
)
Lists ClientTlsPolicies in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
See more: google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.list_locations
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.list_server_tls_policies
list_server_tls_policies(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.server_tls_policy.ListServerTlsPoliciesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.network_security_v1beta1.services.network_security.pagers.ListServerTlsPoliciesPager
)
Lists ServerTlsPolicies in a given project and location.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.parse_authorization_policy_path
parse_authorization_policy_path(path: str) -> typing.Dict[str, str]
Parses a authorization_policy path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.parse_client_tls_policy_path
parse_client_tls_policy_path(path: str) -> typing.Dict[str, str]
Parses a client_tls_policy path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.parse_server_tls_policy_path
parse_server_tls_policy_path(path: str) -> typing.Dict[str, str]
Parses a server_tls_policy path into its component segments.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.server_tls_policy_path
server_tls_policy_path(project: str, location: str, server_tls_policy: str) -> str
Returns a fully-qualified server_tls_policy string.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.set_iam_policy
set_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM access control policy on the specified function.
See more: google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.set_iam_policy
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.update_authorization_policy
update_authorization_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.authorization_policy.UpdateAuthorizationPolicyRequest,
dict,
]
] = None,
*,
authorization_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.authorization_policy.AuthorizationPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the parameters of a single AuthorizationPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.update_client_tls_policy
update_client_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.client_tls_policy.UpdateClientTlsPolicyRequest,
dict,
]
] = None,
*,
client_tls_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.client_tls_policy.ClientTlsPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the parameters of a single ClientTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.NetworkSecurityClient.update_server_tls_policy
update_server_tls_policy(
request: typing.Optional[
typing.Union[
google.cloud.network_security_v1beta1.types.server_tls_policy.UpdateServerTlsPolicyRequest,
dict,
]
] = None,
*,
server_tls_policy: typing.Optional[
google.cloud.network_security_v1beta1.types.server_tls_policy.ServerTlsPolicy
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Updates the parameters of a single ServerTlsPolicy.
google.cloud.network_security_v1beta1.services.network_security.pagers.ListAuthorizationPoliciesAsyncPager
ListAuthorizationPoliciesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.network_security_v1beta1.types.authorization_policy.ListAuthorizationPoliciesResponse
],
],
request: google.cloud.network_security_v1beta1.types.authorization_policy.ListAuthorizationPoliciesRequest,
response: google.cloud.network_security_v1beta1.types.authorization_policy.ListAuthorizationPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
google.cloud.network_security_v1beta1.services.network_security.pagers.ListAuthorizationPoliciesPager
ListAuthorizationPoliciesPager(
method: typing.Callable[
[...],
google.cloud.network_security_v1beta1.types.authorization_policy.ListAuthorizationPoliciesResponse,
],
request: google.cloud.network_security_v1beta1.types.authorization_policy.ListAuthorizationPoliciesRequest,
response: google.cloud.network_security_v1beta1.types.authorization_policy.ListAuthorizationPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
google.cloud.network_security_v1beta1.services.network_security.pagers.ListClientTlsPoliciesAsyncPager
ListClientTlsPoliciesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.network_security_v1beta1.types.client_tls_policy.ListClientTlsPoliciesResponse
],
],
request: google.cloud.network_security_v1beta1.types.client_tls_policy.ListClientTlsPoliciesRequest,
response: google.cloud.network_security_v1beta1.types.client_tls_policy.ListClientTlsPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
google.cloud.network_security_v1beta1.services.network_security.pagers.ListClientTlsPoliciesPager
ListClientTlsPoliciesPager(
method: typing.Callable[
[...],
google.cloud.network_security_v1beta1.types.client_tls_policy.ListClientTlsPoliciesResponse,
],
request: google.cloud.network_security_v1beta1.types.client_tls_policy.ListClientTlsPoliciesRequest,
response: google.cloud.network_security_v1beta1.types.client_tls_policy.ListClientTlsPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.network_security_v1beta1.services.network_security.pagers.ListClientTlsPoliciesPager
google.cloud.network_security_v1beta1.services.network_security.pagers.ListServerTlsPoliciesAsyncPager
ListServerTlsPoliciesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.network_security_v1beta1.types.server_tls_policy.ListServerTlsPoliciesResponse
],
],
request: google.cloud.network_security_v1beta1.types.server_tls_policy.ListServerTlsPoliciesRequest,
response: google.cloud.network_security_v1beta1.types.server_tls_policy.ListServerTlsPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
google.cloud.network_security_v1beta1.services.network_security.pagers.ListServerTlsPoliciesPager
ListServerTlsPoliciesPager(
method: typing.Callable[
[...],
google.cloud.network_security_v1beta1.types.server_tls_policy.ListServerTlsPoliciesResponse,
],
request: google.cloud.network_security_v1beta1.types.server_tls_policy.ListServerTlsPoliciesRequest,
response: google.cloud.network_security_v1beta1.types.server_tls_policy.ListServerTlsPoliciesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.network_security_v1beta1.services.network_security.pagers.ListServerTlsPoliciesPager