Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ class ServiceControllerAsyncClient:
"""`Service Control API
v2 <https://cloud.google.com/service-infrastructure/docs/service-control/access-control>`__

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 <https://cloud.google.com/service-infrastructure>`__.
Expand Down Expand Up @@ -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 <https://cloud.google.com/service-infrastructure>`__.
It checks whether an operation should be allowed based on the
Expand Down Expand Up @@ -414,20 +408,16 @@ 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 <https://cloud.google.com/service-infrastructure>`__.
It reports a list of operations that have occurred on a service.
It must be called after the operations have been executed. For
more information, see `Telemetry
Reporting <https://cloud.google.com/service-infrastructure/docs/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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ class ServiceControllerClient(metaclass=ServiceControllerClientMeta):
"""`Service Control API
v2 <https://cloud.google.com/service-infrastructure/docs/service-control/access-control>`__

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 <https://cloud.google.com/service-infrastructure>`__.
Expand Down Expand Up @@ -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 <https://cloud.google.com/service-infrastructure>`__.
It checks whether an operation should be allowed based on the
Expand Down Expand Up @@ -818,20 +812,16 @@ 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 <https://cloud.google.com/service-infrastructure>`__.
It reports a list of operations that have occurred on a service.
It must be called after the operations have been executed. For
more information, see `Telemetry
Reporting <https://cloud.google.com/service-infrastructure/docs/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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ class ServiceControllerGrpcTransport(ServiceControllerTransport):
`Service Control API
v2 <https://cloud.google.com/service-infrastructure/docs/service-control/access-control>`__

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 <https://cloud.google.com/service-infrastructure>`__.
Expand Down Expand Up @@ -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 <https://cloud.google.com/service-infrastructure>`__.
Expand Down Expand Up @@ -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 <https://cloud.google.com/service-infrastructure>`__.
Expand All @@ -395,9 +386,8 @@ def report(
more information, see `Telemetry
Reporting <https://cloud.google.com/service-infrastructure/docs/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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ class ServiceControllerGrpcAsyncIOTransport(ServiceControllerTransport):
`Service Control API
v2 <https://cloud.google.com/service-infrastructure/docs/service-control/access-control>`__

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 <https://cloud.google.com/service-infrastructure>`__.
Expand Down Expand Up @@ -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 <https://cloud.google.com/service-infrastructure>`__.
Expand Down Expand Up @@ -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 <https://cloud.google.com/service-infrastructure>`__.
Expand All @@ -405,9 +396,8 @@ def report(
more information, see `Telemetry
Reporting <https://cloud.google.com/service-infrastructure/docs/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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,6 @@ class ServiceControllerRestTransport(_BaseServiceControllerRestTransport):
`Service Control API
v2 <https://cloud.google.com/service-infrastructure/docs/service-control/access-control>`__

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 <https://cloud.google.com/service-infrastructure>`__.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,16 @@ class ResourceInfo(proto.Message):
For Google Cloud APIs, the resource container must be one of
the following formats: -
``projects/<project-id or project-number>`` -
``folders/<folder-id>`` -
``organizations/<organization-id>`` 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/<folder-number>`` -
``organizations/<organization-number>`` 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(
Expand Down
Loading