Summary of entries of Methods for bigquerydatapolicy.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient
DataPolicyServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.bigquery_datapolicies_v1.services.data_policy_service.transports.base.DataPolicyServiceTransport, typing.Callable[[...], google.cloud.bigquery_datapolicies_v1.services.data_policy_service.transports.base.DataPolicyServiceTransport]]] = '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 data policy service async client.
See more: google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.create_data_policy
create_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.CreateDataPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
data_policy: typing.Optional[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
] = 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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
Creates a new data policy under a project with the given
dataPolicyId
(used as the display name), policy tag, and
data policy type.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.data_policy_path
data_policy_path(project: str, location: str, data_policy: str) -> str
Returns a fully-qualified data_policy string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.delete_data_policy
delete_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.DeleteDataPolicyRequest,
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, str]] = ()
) -> None
Deletes the data policy specified by its resource name.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.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.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.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.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.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.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.get_data_policy
get_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.GetDataPolicyRequest,
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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
Gets the data policy specified by its resource name.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM policy for the specified data policy.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.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.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.transports.base.DataPolicyServiceTransport
]
)
Returns an appropriate transport class.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.list_data_policies
list_data_policies(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.ListDataPoliciesRequest,
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, str]] = ()
) -> (
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.pagers.ListDataPoliciesAsyncPager
)
List all of the data policies in the specified parent project.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.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.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.parse_data_policy_path
parse_data_policy_path(path: str) -> typing.Dict[str, str]
Parses a data_policy path into its component segments.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.rename_data_policy
rename_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.RenameDataPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
new_data_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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
Renames the id (display name) of the specified data policy.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM policy for the specified data policy.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the caller's permission on the specified data policy resource.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceAsyncClient.update_data_policy
update_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.UpdateDataPolicyRequest,
dict,
]
] = None,
*,
data_policy: typing.Optional[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
] = 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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
Updates the metadata for an existing data policy.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient
DataPolicyServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.bigquery_datapolicies_v1.services.data_policy_service.transports.base.DataPolicyServiceTransport, typing.Callable[[...], google.cloud.bigquery_datapolicies_v1.services.data_policy_service.transports.base.DataPolicyServiceTransport]]] = 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 data policy service client.
See more: google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.exit
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.create_data_policy
create_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.CreateDataPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
data_policy: typing.Optional[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
] = 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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
Creates a new data policy under a project with the given
dataPolicyId
(used as the display name), policy tag, and
data policy type.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.data_policy_path
data_policy_path(project: str, location: str, data_policy: str) -> str
Returns a fully-qualified data_policy string.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.delete_data_policy
delete_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.DeleteDataPolicyRequest,
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, str]] = ()
) -> None
Deletes the data policy specified by its resource name.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.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.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.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.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.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.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.get_data_policy
get_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.GetDataPolicyRequest,
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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
Gets the data policy specified by its resource name.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM policy for the specified data policy.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.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.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.list_data_policies
list_data_policies(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.ListDataPoliciesRequest,
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, str]] = ()
) -> (
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.pagers.ListDataPoliciesPager
)
List all of the data policies in the specified parent project.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.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.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.parse_data_policy_path
parse_data_policy_path(path: str) -> typing.Dict[str, str]
Parses a data_policy path into its component segments.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.rename_data_policy
rename_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.RenameDataPolicyRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
new_data_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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
Renames the id (display name) of the specified data policy.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM policy for the specified data policy.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the caller's permission on the specified data policy resource.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.DataPolicyServiceClient.update_data_policy
update_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.UpdateDataPolicyRequest,
dict,
]
] = None,
*,
data_policy: typing.Optional[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
] = 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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1.types.datapolicy.DataPolicy
Updates the metadata for an existing data policy.
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.pagers.ListDataPoliciesAsyncPager
ListDataPoliciesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.bigquery_datapolicies_v1.types.datapolicy.ListDataPoliciesResponse
],
],
request: google.cloud.bigquery_datapolicies_v1.types.datapolicy.ListDataPoliciesRequest,
response: google.cloud.bigquery_datapolicies_v1.types.datapolicy.ListDataPoliciesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.bigquery_datapolicies_v1.services.data_policy_service.pagers.ListDataPoliciesAsyncPager
google.cloud.bigquery_datapolicies_v1.services.data_policy_service.pagers.ListDataPoliciesPager
ListDataPoliciesPager(
method: typing.Callable[
[...],
google.cloud.bigquery_datapolicies_v1.types.datapolicy.ListDataPoliciesResponse,
],
request: google.cloud.bigquery_datapolicies_v1.types.datapolicy.ListDataPoliciesRequest,
response: google.cloud.bigquery_datapolicies_v1.types.datapolicy.ListDataPoliciesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.bigquery_datapolicies_v1.services.data_policy_service.pagers.ListDataPoliciesPager
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient
DataPolicyServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.transports.base.DataPolicyServiceTransport, typing.Callable[[...], google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.transports.base.DataPolicyServiceTransport]]] = '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 data policy service async client.
See more: google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.create_data_policy
create_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.CreateDataPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
data_policy: typing.Optional[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DataPolicy
] = 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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DataPolicy
Creates a new data policy under a project with the given
dataPolicyId
(used as the display name), policy tag, and
data policy type.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.data_policy_path
data_policy_path(project: str, location: str, data_policy: str) -> str
Returns a fully-qualified data_policy string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.delete_data_policy
delete_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DeleteDataPolicyRequest,
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, str]] = ()
) -> None
Deletes the data policy specified by its resource name.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.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.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.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.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.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.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.get_data_policy
get_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.GetDataPolicyRequest,
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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DataPolicy
Gets the data policy specified by its resource name.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM policy for the specified data policy.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.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.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.transports.base.DataPolicyServiceTransport
]
)
Returns an appropriate transport class.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.list_data_policies
list_data_policies(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.ListDataPoliciesRequest,
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, str]] = ()
) -> (
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.pagers.ListDataPoliciesAsyncPager
)
List all of the data policies in the specified parent project.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.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.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.parse_data_policy_path
parse_data_policy_path(path: str) -> typing.Dict[str, str]
Parses a data_policy path into its component segments.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM policy for the specified data policy.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the caller's permission on the specified data policy resource.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceAsyncClient.update_data_policy
update_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.UpdateDataPolicyRequest,
dict,
]
] = None,
*,
data_policy: typing.Optional[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DataPolicy
] = 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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DataPolicy
Updates the metadata for an existing data policy.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient
DataPolicyServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.transports.base.DataPolicyServiceTransport, typing.Callable[[...], google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.transports.base.DataPolicyServiceTransport]]] = 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 data policy service client.
See more: google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.exit
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.create_data_policy
create_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.CreateDataPolicyRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
data_policy: typing.Optional[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DataPolicy
] = 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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DataPolicy
Creates a new data policy under a project with the given
dataPolicyId
(used as the display name), policy tag, and
data policy type.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.data_policy_path
data_policy_path(project: str, location: str, data_policy: str) -> str
Returns a fully-qualified data_policy string.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.delete_data_policy
delete_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DeleteDataPolicyRequest,
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, str]] = ()
) -> None
Deletes the data policy specified by its resource name.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.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.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.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.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.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.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.get_data_policy
get_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.GetDataPolicyRequest,
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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DataPolicy
Gets the data policy specified by its resource name.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM policy for the specified data policy.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.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.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.list_data_policies
list_data_policies(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.ListDataPoliciesRequest,
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, str]] = ()
) -> (
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.pagers.ListDataPoliciesPager
)
List all of the data policies in the specified parent project.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.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.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.parse_data_policy_path
parse_data_policy_path(path: str) -> typing.Dict[str, str]
Parses a data_policy path into its component segments.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM policy for the specified data policy.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = 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, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the caller's permission on the specified data policy resource.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.DataPolicyServiceClient.update_data_policy
update_data_policy(
request: typing.Optional[
typing.Union[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.UpdateDataPolicyRequest,
dict,
]
] = None,
*,
data_policy: typing.Optional[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DataPolicy
] = 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, str]] = ()
) -> google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.DataPolicy
Updates the metadata for an existing data policy.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.pagers.ListDataPoliciesAsyncPager
ListDataPoliciesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.ListDataPoliciesResponse
],
],
request: google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.ListDataPoliciesRequest,
response: google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.ListDataPoliciesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.pagers.ListDataPoliciesPager
ListDataPoliciesPager(
method: typing.Callable[
[...],
google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.ListDataPoliciesResponse,
],
request: google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.ListDataPoliciesRequest,
response: google.cloud.bigquery_datapolicies_v1beta1.types.datapolicy.ListDataPoliciesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.bigquery_datapolicies_v1beta1.services.data_policy_service.pagers.ListDataPoliciesPager