diff --git a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/async_client.py b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/async_client.py index 575460d88cfa..5182400485c7 100644 --- a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/async_client.py +++ b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/async_client.py @@ -66,9 +66,6 @@ class ServiceControllerAsyncClient: """`Service Control API v2 `__ - Private Preview. This feature is only available for approved - services. - This API provides admission control and telemetry reporting for services that are integrated with `Service Infrastructure `__. @@ -307,10 +304,7 @@ async def check( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, Union[str, bytes]]] = (), ) -> service_controller.CheckResponse: - r"""Private Preview. This feature is only available for approved - services. - - This method provides admission control for services that are + r"""This method provides admission control for services that are integrated with `Service Infrastructure `__. It checks whether an operation should be allowed based on the @@ -414,10 +408,7 @@ async def report( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, Union[str, bytes]]] = (), ) -> service_controller.ReportResponse: - r"""Private Preview. This feature is only available for approved - services. - - This method provides telemetry reporting for services that are + r"""This method provides telemetry reporting for services that are integrated with `Service Infrastructure `__. It reports a list of operations that have occurred on a service. @@ -425,9 +416,8 @@ async def report( more information, see `Telemetry Reporting `__. - NOTE: The telemetry reporting has a hard limit of 1000 - operations and 1MB per Report call. It is recommended to have no - more than 100 operations per call. + NOTE: The telemetry reporting has a hard limit of 100 operations + and 1MB per Report call. This method requires the ``servicemanagement.services.report`` permission on the specified service. For more information, see diff --git a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/client.py b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/client.py index ed597f0054da..fe318129cfdf 100644 --- a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/client.py +++ b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/client.py @@ -112,9 +112,6 @@ class ServiceControllerClient(metaclass=ServiceControllerClientMeta): """`Service Control API v2 `__ - Private Preview. This feature is only available for approved - services. - This API provides admission control and telemetry reporting for services that are integrated with `Service Infrastructure `__. @@ -711,10 +708,7 @@ def check( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, Union[str, bytes]]] = (), ) -> service_controller.CheckResponse: - r"""Private Preview. This feature is only available for approved - services. - - This method provides admission control for services that are + r"""This method provides admission control for services that are integrated with `Service Infrastructure `__. It checks whether an operation should be allowed based on the @@ -818,10 +812,7 @@ def report( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, Union[str, bytes]]] = (), ) -> service_controller.ReportResponse: - r"""Private Preview. This feature is only available for approved - services. - - This method provides telemetry reporting for services that are + r"""This method provides telemetry reporting for services that are integrated with `Service Infrastructure `__. It reports a list of operations that have occurred on a service. @@ -829,9 +820,8 @@ def report( more information, see `Telemetry Reporting `__. - NOTE: The telemetry reporting has a hard limit of 1000 - operations and 1MB per Report call. It is recommended to have no - more than 100 operations per call. + NOTE: The telemetry reporting has a hard limit of 100 operations + and 1MB per Report call. This method requires the ``servicemanagement.services.report`` permission on the specified service. For more information, see diff --git a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/grpc.py b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/grpc.py index f9e2d64a69d5..953318141a13 100644 --- a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/grpc.py +++ b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/grpc.py @@ -113,9 +113,6 @@ class ServiceControllerGrpcTransport(ServiceControllerTransport): `Service Control API v2 `__ - Private Preview. This feature is only available for approved - services. - This API provides admission control and telemetry reporting for services that are integrated with `Service Infrastructure `__. @@ -333,9 +330,6 @@ def check( ) -> Callable[[service_controller.CheckRequest], service_controller.CheckResponse]: r"""Return a callable for the check method over gRPC. - Private Preview. This feature is only available for approved - services. - This method provides admission control for services that are integrated with `Service Infrastructure `__. @@ -384,9 +378,6 @@ def report( ]: r"""Return a callable for the report method over gRPC. - Private Preview. This feature is only available for approved - services. - This method provides telemetry reporting for services that are integrated with `Service Infrastructure `__. @@ -395,9 +386,8 @@ def report( more information, see `Telemetry Reporting `__. - NOTE: The telemetry reporting has a hard limit of 1000 - operations and 1MB per Report call. It is recommended to have no - more than 100 operations per call. + NOTE: The telemetry reporting has a hard limit of 100 operations + and 1MB per Report call. This method requires the ``servicemanagement.services.report`` permission on the specified service. For more information, see diff --git a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/grpc_asyncio.py b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/grpc_asyncio.py index 26b753fdd751..0d771132e816 100644 --- a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/grpc_asyncio.py +++ b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/grpc_asyncio.py @@ -119,9 +119,6 @@ class ServiceControllerGrpcAsyncIOTransport(ServiceControllerTransport): `Service Control API v2 `__ - Private Preview. This feature is only available for approved - services. - This API provides admission control and telemetry reporting for services that are integrated with `Service Infrastructure `__. @@ -343,9 +340,6 @@ def check( ]: r"""Return a callable for the check method over gRPC. - Private Preview. This feature is only available for approved - services. - This method provides admission control for services that are integrated with `Service Infrastructure `__. @@ -394,9 +388,6 @@ def report( ]: r"""Return a callable for the report method over gRPC. - Private Preview. This feature is only available for approved - services. - This method provides telemetry reporting for services that are integrated with `Service Infrastructure `__. @@ -405,9 +396,8 @@ def report( more information, see `Telemetry Reporting `__. - NOTE: The telemetry reporting has a hard limit of 1000 - operations and 1MB per Report call. It is recommended to have no - more than 100 operations per call. + NOTE: The telemetry reporting has a hard limit of 100 operations + and 1MB per Report call. This method requires the ``servicemanagement.services.report`` permission on the specified service. For more information, see diff --git a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/rest.py b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/rest.py index 924d9dfc10a3..d8838e7d0e43 100644 --- a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/rest.py +++ b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/services/service_controller/transports/rest.py @@ -208,9 +208,6 @@ class ServiceControllerRestTransport(_BaseServiceControllerRestTransport): `Service Control API v2 `__ - Private Preview. This feature is only available for approved - services. - This API provides admission control and telemetry reporting for services that are integrated with `Service Infrastructure `__. diff --git a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/types/service_controller.py b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/types/service_controller.py index 015fc6ea213e..8beeb72b0250 100644 --- a/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/types/service_controller.py +++ b/packages/google-cloud-service-control/google/cloud/servicecontrol_v2/types/service_controller.py @@ -105,16 +105,16 @@ class ResourceInfo(proto.Message): For Google Cloud APIs, the resource container must be one of the following formats: - ``projects/`` - - ``folders/`` - - ``organizations/`` For the policy - enforcement on the container level (VPCSC and Location - Policy check), this field takes precedence on the container - extracted from name when presents. + ``folders/`` - + ``organizations/`` Required for the + policy enforcement on the container level (e.g. VPCSC, + Location Policy check, Org Policy check). location (str): - Optional. The location of the resource. The - value must be a valid zone, region or - multiregion. For example: "europe-west4" or - "northamerica-northeast1-a". + Optional. The location of the resource, it + must be a valid zone, region or multiregion, for + example: "europe-west4", + "northamerica-northeast1-a". Required for + location policy check. """ name: str = proto.Field(