Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
docs: Minor formatting (#586)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

chore: Update gapic-generator-python to v1.11.5
build: Update rules_python to 0.24.0

PiperOrigin-RevId: 563436317

Source-Link: https://togithub.com/googleapis/googleapis/commit/42fd37b18d706f6f51f52f209973b3b2c28f509a

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/280264ca02fb9316b4237a96d0af1a2343a81a56
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9
  • Loading branch information
gcf-owl-bot[bot] committed Sep 13, 2023
1 parent 16b49a6 commit 6374962
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 22 deletions.
6 changes: 5 additions & 1 deletion google/cloud/asset_v1/services/asset_service/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
from google.cloud.asset_v1.services.asset_service import pagers
from google.cloud.asset_v1.types import asset_service
from google.cloud.asset_v1.types import assets
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import field_mask_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore
from google.rpc import status_pb2 # type: ignore
Expand Down Expand Up @@ -406,6 +406,7 @@ async def sample_list_assets():
Returns:
google.cloud.asset_v1.services.asset_service.pagers.ListAssetsAsyncPager:
ListAssets response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down Expand Up @@ -1303,6 +1304,7 @@ async def sample_search_all_resources():
Returns:
google.cloud.asset_v1.services.asset_service.pagers.SearchAllResourcesAsyncPager:
Search all resources response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down Expand Up @@ -1503,6 +1505,7 @@ async def sample_search_all_iam_policies():
Returns:
google.cloud.asset_v1.services.asset_service.pagers.SearchAllIamPoliciesAsyncPager:
Search all IAM policies response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down Expand Up @@ -2284,6 +2287,7 @@ async def sample_list_saved_queries():
Returns:
google.cloud.asset_v1.services.asset_service.pagers.ListSavedQueriesAsyncPager:
Response of listing saved queries.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down
6 changes: 5 additions & 1 deletion google/cloud/asset_v1/services/asset_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
from google.cloud.asset_v1.services.asset_service import pagers
from google.cloud.asset_v1.types import asset_service
from google.cloud.asset_v1.types import assets
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import field_mask_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore
from google.rpc import status_pb2 # type: ignore
Expand Down Expand Up @@ -720,6 +720,7 @@ def sample_list_assets():
Returns:
google.cloud.asset_v1.services.asset_service.pagers.ListAssetsPager:
ListAssets response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down Expand Up @@ -1568,6 +1569,7 @@ def sample_search_all_resources():
Returns:
google.cloud.asset_v1.services.asset_service.pagers.SearchAllResourcesPager:
Search all resources response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down Expand Up @@ -1759,6 +1761,7 @@ def sample_search_all_iam_policies():
Returns:
google.cloud.asset_v1.services.asset_service.pagers.SearchAllIamPoliciesPager:
Search all IAM policies response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down Expand Up @@ -2509,6 +2512,7 @@ def sample_list_saved_queries():
Returns:
google.cloud.asset_v1.services.asset_service.pagers.ListSavedQueriesPager:
Response of listing saved queries.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
from google.oauth2 import service_account # type: ignore

from google.cloud.asset_v1.types import asset_service
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import empty_pb2 # type: ignore

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import grpc # type: ignore

from google.cloud.asset_v1.types import asset_service
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import empty_pb2 # type: ignore
from .base import AssetServiceTransport, DEFAULT_CLIENT_INFO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
from grpc.experimental import aio # type: ignore

from google.cloud.asset_v1.types import asset_service
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import empty_pb2 # type: ignore
from .base import AssetServiceTransport, DEFAULT_CLIENT_INFO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

from google.protobuf import json_format
from google.api_core import operations_v1
from google.longrunning import operations_pb2
from requests import __version__ as requests_version
import dataclasses
import re
Expand All @@ -42,8 +41,8 @@


from google.cloud.asset_v1.types import asset_service
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import empty_pb2 # type: ignore
from google.longrunning import operations_pb2 # type: ignore

from .base import AssetServiceTransport, DEFAULT_CLIENT_INFO as BASE_DEFAULT_CLIENT_INFO

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
from google.cloud.asset_v1p1beta1.services.asset_service import pagers
from google.cloud.asset_v1p1beta1.types import asset_service
from google.cloud.asset_v1p1beta1.types import assets
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from .transports.base import AssetServiceTransport, DEFAULT_CLIENT_INFO
from .transports.grpc_asyncio import AssetServiceGrpcAsyncIOTransport
from .client import AssetServiceClient
Expand Down Expand Up @@ -294,6 +294,7 @@ async def sample_search_all_resources():
Returns:
google.cloud.asset_v1p1beta1.services.asset_service.pagers.SearchAllResourcesAsyncPager:
Search all resources response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down Expand Up @@ -445,6 +446,7 @@ async def sample_search_all_iam_policies():
Returns:
google.cloud.asset_v1p1beta1.services.asset_service.pagers.SearchAllIamPoliciesAsyncPager:
Search all IAM policies response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from google.cloud.asset_v1p1beta1.services.asset_service import pagers
from google.cloud.asset_v1p1beta1.types import asset_service
from google.cloud.asset_v1p1beta1.types import assets
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from .transports.base import AssetServiceTransport, DEFAULT_CLIENT_INFO
from .transports.grpc import AssetServiceGrpcTransport
from .transports.grpc_asyncio import AssetServiceGrpcAsyncIOTransport
Expand Down Expand Up @@ -505,6 +505,7 @@ def sample_search_all_resources():
Returns:
google.cloud.asset_v1p1beta1.services.asset_service.pagers.SearchAllResourcesPager:
Search all resources response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down Expand Up @@ -646,6 +647,7 @@ def sample_search_all_iam_policies():
Returns:
google.cloud.asset_v1p1beta1.services.asset_service.pagers.SearchAllIamPoliciesPager:
Search all IAM policies response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from google.oauth2 import service_account # type: ignore

from google.cloud.asset_v1p1beta1.types import asset_service
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore

DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import grpc # type: ignore

from google.cloud.asset_v1p1beta1.types import asset_service
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from .base import AssetServiceTransport, DEFAULT_CLIENT_INFO


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from grpc.experimental import aio # type: ignore

from google.cloud.asset_v1p1beta1.types import asset_service
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from .base import AssetServiceTransport, DEFAULT_CLIENT_INFO
from .grpc import AssetServiceGrpcTransport

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from google.api_core import gapic_v1

from google.protobuf import json_format
from google.longrunning import operations_pb2
from requests import __version__ as requests_version
import dataclasses
import re
Expand All @@ -41,6 +40,7 @@


from google.cloud.asset_v1p1beta1.types import asset_service
from google.longrunning import operations_pb2 # type: ignore

from .base import AssetServiceTransport, DEFAULT_CLIENT_INFO as BASE_DEFAULT_CLIENT_INFO

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
from google.cloud.asset_v1p5beta1.services.asset_service import pagers
from google.cloud.asset_v1p5beta1.types import asset_service
from google.cloud.asset_v1p5beta1.types import assets
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from .transports.base import AssetServiceTransport, DEFAULT_CLIENT_INFO
from .transports.grpc_asyncio import AssetServiceGrpcAsyncIOTransport
from .client import AssetServiceClient
Expand Down Expand Up @@ -280,6 +280,7 @@ async def sample_list_assets():
Returns:
google.cloud.asset_v1p5beta1.services.asset_service.pagers.ListAssetsAsyncPager:
ListAssets response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from google.cloud.asset_v1p5beta1.services.asset_service import pagers
from google.cloud.asset_v1p5beta1.types import asset_service
from google.cloud.asset_v1p5beta1.types import assets
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from .transports.base import AssetServiceTransport, DEFAULT_CLIENT_INFO
from .transports.grpc import AssetServiceGrpcTransport
from .transports.grpc_asyncio import AssetServiceGrpcAsyncIOTransport
Expand Down Expand Up @@ -541,6 +541,7 @@ def sample_list_assets():
Returns:
google.cloud.asset_v1p5beta1.services.asset_service.pagers.ListAssetsPager:
ListAssets response.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from google.oauth2 import service_account # type: ignore

from google.cloud.asset_v1p5beta1.types import asset_service
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore

DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=package_version.__version__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import grpc # type: ignore

from google.cloud.asset_v1p5beta1.types import asset_service
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from .base import AssetServiceTransport, DEFAULT_CLIENT_INFO


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from grpc.experimental import aio # type: ignore

from google.cloud.asset_v1p5beta1.types import asset_service
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from .base import AssetServiceTransport, DEFAULT_CLIENT_INFO
from .grpc import AssetServiceGrpcTransport

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from google.api_core import gapic_v1

from google.protobuf import json_format
from google.longrunning import operations_pb2
from requests import __version__ as requests_version
import dataclasses
import re
Expand All @@ -41,6 +40,7 @@


from google.cloud.asset_v1p5beta1.types import asset_service
from google.longrunning import operations_pb2 # type: ignore

from .base import AssetServiceTransport, DEFAULT_CLIENT_INFO as BASE_DEFAULT_CLIENT_INFO

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/gapic/asset_v1/test_asset_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
from google.cloud.asset_v1.services.asset_service import transports
from google.cloud.asset_v1.types import asset_service
from google.cloud.asset_v1.types import assets
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.oauth2 import service_account
from google.protobuf import duration_pb2 # type: ignore
from google.protobuf import field_mask_pb2 # type: ignore
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/gapic/asset_v1p1beta1/test_asset_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
from google.cloud.asset_v1p1beta1.services.asset_service import transports
from google.cloud.asset_v1p1beta1.types import asset_service
from google.cloud.asset_v1p1beta1.types import assets
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.oauth2 import service_account
import google.auth

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/gapic/asset_v1p5beta1/test_asset_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
from google.cloud.asset_v1p5beta1.services.asset_service import transports
from google.cloud.asset_v1p5beta1.types import asset_service
from google.cloud.asset_v1p5beta1.types import assets
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.oauth2 import service_account
from google.protobuf import timestamp_pb2 # type: ignore
import google.auth
Expand Down

0 comments on commit 6374962

Please sign in to comment.