diff --git a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager/gapic_version.py b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager/gapic_version.py index 114e40645800..558c8aab67c5 100644 --- a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager/gapic_version.py +++ b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "0.1.3" # {x-release-please-version} +__version__ = "0.0.0" # {x-release-please-version} diff --git a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/gapic_version.py b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/gapic_version.py index 114e40645800..558c8aab67c5 100644 --- a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/gapic_version.py +++ b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "0.1.3" # {x-release-please-version} +__version__ = "0.0.0" # {x-release-please-version} diff --git a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/async_client.py b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/async_client.py index e80076be6cf8..fe11286a0ab3 100644 --- a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/async_client.py +++ b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/async_client.py @@ -311,10 +311,9 @@ async def check_onboarding_status( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, str]] = (), ) -> privilegedaccessmanager.CheckOnboardingStatusResponse: - r"""CheckOnboardingStatus reports the onboarding status - for a project/folder/organization. Any findings reported - by this API need to be fixed before PAM can be used on - the resource. + r"""``CheckOnboardingStatus`` reports the onboarding status for a + project/folder/organization. Any findings reported by this API + need to be fixed before PAM can be used on the resource. .. code-block:: python @@ -886,9 +885,9 @@ async def delete_entitlement( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, str]] = (), ) -> operation_async.AsyncOperation: - r"""Deletes a single entitlement. This method can only be - called when there are no in-progress - (ACTIVE/ACTIVATING/REVOKING) grants under the + r"""Deletes a single entitlement. This method can only be called + when there are no in-progress + (``ACTIVE``/``ACTIVATING``/``REVOKING``) grants under the entitlement. .. code-block:: python @@ -1438,10 +1437,9 @@ async def sample_get_grant(): Returns: google.cloud.privilegedaccessmanager_v1.types.Grant: - This is to ensure that the Grants and ProducerGrants proto are byte - compatible. A grant represents a request from a user - for obtaining the access specified in an entitlement - they are eligible for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ # Create or coerce a protobuf request object. @@ -1502,7 +1500,8 @@ async def create_grant( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, str]] = (), ) -> privilegedaccessmanager.Grant: - r"""Creates a new grant in a given project and location. + r"""Creates a new grant in a given + project/folder/organization and location. .. code-block:: python @@ -1554,10 +1553,9 @@ async def sample_create_grant(): Returns: google.cloud.privilegedaccessmanager_v1.types.Grant: - This is to ensure that the Grants and ProducerGrants proto are byte - compatible. A grant represents a request from a user - for obtaining the access specified in an entitlement - they are eligible for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ # Create or coerce a protobuf request object. @@ -1659,10 +1657,9 @@ async def sample_approve_grant(): Returns: google.cloud.privilegedaccessmanager_v1.types.Grant: - This is to ensure that the Grants and ProducerGrants proto are byte - compatible. A grant represents a request from a user - for obtaining the access specified in an entitlement - they are eligible for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ # Create or coerce a protobuf request object. @@ -1746,10 +1743,9 @@ async def sample_deny_grant(): Returns: google.cloud.privilegedaccessmanager_v1.types.Grant: - This is to ensure that the Grants and ProducerGrants proto are byte - compatible. A grant represents a request from a user - for obtaining the access specified in an entitlement - they are eligible for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ # Create or coerce a protobuf request object. @@ -1841,10 +1837,8 @@ async def sample_revoke_grant(): google.api_core.operation_async.AsyncOperation: An object representing a long-running operation. - The result type for the operation will be :class:`google.cloud.privilegedaccessmanager_v1.types.Grant` This is to ensure that the Grants and ProducerGrants proto are byte - compatible. A grant represents a request from a user - for obtaining the access specified in an entitlement - they are eligible for. + The result type for the operation will be :class:`google.cloud.privilegedaccessmanager_v1.types.Grant` A grant represents a request from a user for obtaining the access specified + in an entitlement they are eligible for. """ # Create or coerce a protobuf request object. diff --git a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/client.py b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/client.py index 8615667b4c4c..dddf395d20a8 100644 --- a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/client.py +++ b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/client.py @@ -721,10 +721,9 @@ def check_onboarding_status( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, str]] = (), ) -> privilegedaccessmanager.CheckOnboardingStatusResponse: - r"""CheckOnboardingStatus reports the onboarding status - for a project/folder/organization. Any findings reported - by this API need to be fixed before PAM can be used on - the resource. + r"""``CheckOnboardingStatus`` reports the onboarding status for a + project/folder/organization. Any findings reported by this API + need to be fixed before PAM can be used on the resource. .. code-block:: python @@ -1283,9 +1282,9 @@ def delete_entitlement( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, str]] = (), ) -> operation.Operation: - r"""Deletes a single entitlement. This method can only be - called when there are no in-progress - (ACTIVE/ACTIVATING/REVOKING) grants under the + r"""Deletes a single entitlement. This method can only be called + when there are no in-progress + (``ACTIVE``/``ACTIVATING``/``REVOKING``) grants under the entitlement. .. code-block:: python @@ -1824,10 +1823,9 @@ def sample_get_grant(): Returns: google.cloud.privilegedaccessmanager_v1.types.Grant: - This is to ensure that the Grants and ProducerGrants proto are byte - compatible. A grant represents a request from a user - for obtaining the access specified in an entitlement - they are eligible for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ # Create or coerce a protobuf request object. @@ -1885,7 +1883,8 @@ def create_grant( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, str]] = (), ) -> privilegedaccessmanager.Grant: - r"""Creates a new grant in a given project and location. + r"""Creates a new grant in a given + project/folder/organization and location. .. code-block:: python @@ -1937,10 +1936,9 @@ def sample_create_grant(): Returns: google.cloud.privilegedaccessmanager_v1.types.Grant: - This is to ensure that the Grants and ProducerGrants proto are byte - compatible. A grant represents a request from a user - for obtaining the access specified in an entitlement - they are eligible for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ # Create or coerce a protobuf request object. @@ -2039,10 +2037,9 @@ def sample_approve_grant(): Returns: google.cloud.privilegedaccessmanager_v1.types.Grant: - This is to ensure that the Grants and ProducerGrants proto are byte - compatible. A grant represents a request from a user - for obtaining the access specified in an entitlement - they are eligible for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ # Create or coerce a protobuf request object. @@ -2124,10 +2121,9 @@ def sample_deny_grant(): Returns: google.cloud.privilegedaccessmanager_v1.types.Grant: - This is to ensure that the Grants and ProducerGrants proto are byte - compatible. A grant represents a request from a user - for obtaining the access specified in an entitlement - they are eligible for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ # Create or coerce a protobuf request object. @@ -2217,10 +2213,8 @@ def sample_revoke_grant(): google.api_core.operation.Operation: An object representing a long-running operation. - The result type for the operation will be :class:`google.cloud.privilegedaccessmanager_v1.types.Grant` This is to ensure that the Grants and ProducerGrants proto are byte - compatible. A grant represents a request from a user - for obtaining the access specified in an entitlement - they are eligible for. + The result type for the operation will be :class:`google.cloud.privilegedaccessmanager_v1.types.Grant` A grant represents a request from a user for obtaining the access specified + in an entitlement they are eligible for. """ # Create or coerce a protobuf request object. diff --git a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/grpc.py b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/grpc.py index 7652a6efb757..3fe00b3da1c7 100644 --- a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/grpc.py +++ b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/grpc.py @@ -282,10 +282,9 @@ def check_onboarding_status( ]: r"""Return a callable for the check onboarding status method over gRPC. - CheckOnboardingStatus reports the onboarding status - for a project/folder/organization. Any findings reported - by this API need to be fixed before PAM can be used on - the resource. + ``CheckOnboardingStatus`` reports the onboarding status for a + project/folder/organization. Any findings reported by this API + need to be fixed before PAM can be used on the resource. Returns: Callable[[~.CheckOnboardingStatusRequest], @@ -431,9 +430,9 @@ def delete_entitlement( ]: r"""Return a callable for the delete entitlement method over gRPC. - Deletes a single entitlement. This method can only be - called when there are no in-progress - (ACTIVE/ACTIVATING/REVOKING) grants under the + Deletes a single entitlement. This method can only be called + when there are no in-progress + (``ACTIVE``/``ACTIVATING``/``REVOKING``) grants under the entitlement. Returns: @@ -597,7 +596,8 @@ def create_grant( ]: r"""Return a callable for the create grant method over gRPC. - Creates a new grant in a given project and location. + Creates a new grant in a given + project/folder/organization and location. Returns: Callable[[~.CreateGrantRequest], diff --git a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/grpc_asyncio.py b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/grpc_asyncio.py index 46ed6f741c1f..45e3939dc27a 100644 --- a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/grpc_asyncio.py +++ b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/grpc_asyncio.py @@ -292,10 +292,9 @@ def check_onboarding_status( ]: r"""Return a callable for the check onboarding status method over gRPC. - CheckOnboardingStatus reports the onboarding status - for a project/folder/organization. Any findings reported - by this API need to be fixed before PAM can be used on - the resource. + ``CheckOnboardingStatus`` reports the onboarding status for a + project/folder/organization. Any findings reported by this API + need to be fixed before PAM can be used on the resource. Returns: Callable[[~.CheckOnboardingStatusRequest], @@ -443,9 +442,9 @@ def delete_entitlement( ]: r"""Return a callable for the delete entitlement method over gRPC. - Deletes a single entitlement. This method can only be - called when there are no in-progress - (ACTIVE/ACTIVATING/REVOKING) grants under the + Deletes a single entitlement. This method can only be called + when there are no in-progress + (``ACTIVE``/``ACTIVATING``/``REVOKING``) grants under the entitlement. Returns: @@ -612,7 +611,8 @@ def create_grant( ]: r"""Return a callable for the create grant method over gRPC. - Creates a new grant in a given project and location. + Creates a new grant in a given + project/folder/organization and location. Returns: Callable[[~.CreateGrantRequest], diff --git a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/rest.py b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/rest.py index 5ba169b861f6..24e42650091b 100644 --- a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/rest.py +++ b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/services/privileged_access_manager/transports/rest.py @@ -860,11 +860,9 @@ def __call__( Returns: ~.privilegedaccessmanager.Grant: - This is to ensure that the ``Grants`` and - ``ProducerGrants`` proto are byte compatible. A grant - represents a request from a user for obtaining the - access specified in an entitlement they are eligible - for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ @@ -1151,11 +1149,9 @@ def __call__( Returns: ~.privilegedaccessmanager.Grant: - This is to ensure that the ``Grants`` and - ``ProducerGrants`` proto are byte compatible. A grant - represents a request from a user for obtaining the - access specified in an entitlement they are eligible - for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ @@ -1345,11 +1341,9 @@ def __call__( Returns: ~.privilegedaccessmanager.Grant: - This is to ensure that the ``Grants`` and - ``ProducerGrants`` proto are byte compatible. A grant - represents a request from a user for obtaining the - access specified in an entitlement they are eligible - for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ @@ -1540,11 +1534,9 @@ def __call__( Returns: ~.privilegedaccessmanager.Grant: - This is to ensure that the ``Grants`` and - ``ProducerGrants`` proto are byte compatible. A grant - represents a request from a user for obtaining the - access specified in an entitlement they are eligible - for. + A grant represents a request from a + user for obtaining the access specified + in an entitlement they are eligible for. """ diff --git a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/types/privilegedaccessmanager.py b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/types/privilegedaccessmanager.py index 5ae39324ecc5..2426af749af2 100644 --- a/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/types/privilegedaccessmanager.py +++ b/packages/google-cloud-privilegedaccessmanager/google/cloud/privilegedaccessmanager_v1/types/privilegedaccessmanager.py @@ -277,7 +277,7 @@ class Unstructured(proto.Message): ) class AdditionalNotificationTargets(proto.Message): - r"""AdditionalNotificationTargets includes email addresses to be + r"""``AdditionalNotificationTargets`` includes email addresses to be notified. Attributes: @@ -355,8 +355,7 @@ class AdditionalNotificationTargets(proto.Message): class AccessControlEntry(proto.Message): - r"""AccessControlEntry is used to control who can do some - operation. + r"""``AccessControlEntry`` is used to control who can do some operation. Attributes: principals (MutableSequence[str]): @@ -486,7 +485,7 @@ class PrivilegedAccess(proto.Message): """ class GcpIamAccess(proto.Message): - r"""GcpIamAccess represents IAM based access control on a Google + r"""``GcpIamAccess`` represents IAM based access control on a Google Cloud resource. Refer to https://cloud.google.com/iam/docs to understand more about IAM. @@ -501,7 +500,7 @@ class GcpIamAccess(proto.Message): """ class RoleBinding(proto.Message): - r"""IAM Role bindings that are created after a successful grant. + r"""IAM role bindings that are created after a successful grant. Attributes: role (str): @@ -772,7 +771,7 @@ class CreateEntitlementRequest(proto.Message): so, ignores the second request and returns the previous operation's response. This prevents clients from accidentally creating duplicate - commitments. + entitlements. The request ID must be a valid UUID with the exception that zero UUID is not supported @@ -817,9 +816,7 @@ class DeleteEntitlementRequest(proto.Message): you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if - so, ignores the second request. This prevents - clients from accidentally creating duplicate - commitments. + so, ignores the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported @@ -879,10 +876,8 @@ class UpdateEntitlementRequest(proto.Message): class Grant(proto.Message): - r"""This is to ensure that the ``Grants`` and ``ProducerGrants`` proto - are byte compatible. A grant represents a request from a user for - obtaining the access specified in an entitlement they are eligible - for. + r"""A grant represents a request from a user for obtaining the + access specified in an entitlement they are eligible for. Attributes: name (str): @@ -1643,7 +1638,7 @@ class CreateGrantRequest(proto.Message): with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate - commitments. + grants. The request ID must be a valid UUID with the exception that zero UUID is not supported diff --git a/packages/google-cloud-privilegedaccessmanager/samples/generated_samples/snippet_metadata_google.cloud.privilegedaccessmanager.v1.json b/packages/google-cloud-privilegedaccessmanager/samples/generated_samples/snippet_metadata_google.cloud.privilegedaccessmanager.v1.json index 401da9e4c884..be6124d09ade 100644 --- a/packages/google-cloud-privilegedaccessmanager/samples/generated_samples/snippet_metadata_google.cloud.privilegedaccessmanager.v1.json +++ b/packages/google-cloud-privilegedaccessmanager/samples/generated_samples/snippet_metadata_google.cloud.privilegedaccessmanager.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-privilegedaccessmanager", - "version": "0.1.3" + "version": "0.1.0" }, "snippets": [ {