Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

chore: upgrade gapic-generator-python to 0.46.3 #60

Merged
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
1 change: 0 additions & 1 deletion docs/functions_v1/cloud_functions_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ CloudFunctionsService
:members:
:inherited-members:


.. automodule:: google.cloud.functions_v1.services.cloud_functions_service.pagers
:members:
:inherited-members:
20 changes: 10 additions & 10 deletions google/cloud/functions/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,16 +14,16 @@
# limitations under the License.
#

from google.cloud.functions_v1.services.cloud_functions_service.async_client import (
CloudFunctionsServiceAsyncClient,
)
from google.cloud.functions_v1.services.cloud_functions_service.client import (
CloudFunctionsServiceClient,
)
from google.cloud.functions_v1.services.cloud_functions_service.async_client import (
CloudFunctionsServiceAsyncClient,
)

from google.cloud.functions_v1.types.functions import CallFunctionRequest
from google.cloud.functions_v1.types.functions import CallFunctionResponse
from google.cloud.functions_v1.types.functions import CloudFunction
from google.cloud.functions_v1.types.functions import CloudFunctionStatus
from google.cloud.functions_v1.types.functions import CreateFunctionRequest
from google.cloud.functions_v1.types.functions import DeleteFunctionRequest
from google.cloud.functions_v1.types.functions import EventTrigger
Expand All @@ -39,16 +38,16 @@
from google.cloud.functions_v1.types.functions import ListFunctionsResponse
from google.cloud.functions_v1.types.functions import SourceRepository
from google.cloud.functions_v1.types.functions import UpdateFunctionRequest
from google.cloud.functions_v1.types.functions import CloudFunctionStatus
from google.cloud.functions_v1.types.operations import OperationMetadataV1
from google.cloud.functions_v1.types.operations import OperationType

__all__ = (
"CloudFunctionsServiceClient",
"CloudFunctionsServiceAsyncClient",
"CallFunctionRequest",
"CallFunctionResponse",
"CloudFunction",
"CloudFunctionStatus",
"CloudFunctionsServiceAsyncClient",
"CloudFunctionsServiceClient",
"CreateFunctionRequest",
"DeleteFunctionRequest",
"EventTrigger",
Expand All @@ -61,8 +60,9 @@
"HttpsTrigger",
"ListFunctionsRequest",
"ListFunctionsResponse",
"OperationMetadataV1",
"OperationType",
"SourceRepository",
"UpdateFunctionRequest",
"CloudFunctionStatus",
"OperationMetadataV1",
"OperationType",
)
9 changes: 5 additions & 4 deletions google/cloud/functions_v1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,10 +15,11 @@
#

from .services.cloud_functions_service import CloudFunctionsServiceClient
from .services.cloud_functions_service import CloudFunctionsServiceAsyncClient

from .types.functions import CallFunctionRequest
from .types.functions import CallFunctionResponse
from .types.functions import CloudFunction
from .types.functions import CloudFunctionStatus
from .types.functions import CreateFunctionRequest
from .types.functions import DeleteFunctionRequest
from .types.functions import EventTrigger
Expand All @@ -34,15 +34,17 @@
from .types.functions import ListFunctionsResponse
from .types.functions import SourceRepository
from .types.functions import UpdateFunctionRequest
from .types.functions import CloudFunctionStatus
from .types.operations import OperationMetadataV1
from .types.operations import OperationType


__all__ = (
"CloudFunctionsServiceAsyncClient",
"CallFunctionRequest",
"CallFunctionResponse",
"CloudFunction",
"CloudFunctionStatus",
"CloudFunctionsServiceClient",
"CreateFunctionRequest",
"DeleteFunctionRequest",
"EventTrigger",
Expand All @@ -59,5 +61,4 @@
"OperationType",
"SourceRepository",
"UpdateFunctionRequest",
"CloudFunctionsServiceClient",
)
133 changes: 133 additions & 0 deletions google/cloud/functions_v1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.functions_v1",
"protoPackage": "google.cloud.functions.v1",
"schema": "1.0",
"services": {
"CloudFunctionsService": {
"clients": {
"grpc": {
"libraryClient": "CloudFunctionsServiceClient",
"rpcs": {
"CallFunction": {
"methods": [
"call_function"
]
},
"CreateFunction": {
"methods": [
"create_function"
]
},
"DeleteFunction": {
"methods": [
"delete_function"
]
},
"GenerateDownloadUrl": {
"methods": [
"generate_download_url"
]
},
"GenerateUploadUrl": {
"methods": [
"generate_upload_url"
]
},
"GetFunction": {
"methods": [
"get_function"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
]
},
"ListFunctions": {
"methods": [
"list_functions"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"UpdateFunction": {
"methods": [
"update_function"
]
}
}
},
"grpc-async": {
"libraryClient": "CloudFunctionsServiceAsyncClient",
"rpcs": {
"CallFunction": {
"methods": [
"call_function"
]
},
"CreateFunction": {
"methods": [
"create_function"
]
},
"DeleteFunction": {
"methods": [
"delete_function"
]
},
"GenerateDownloadUrl": {
"methods": [
"generate_download_url"
]
},
"GenerateUploadUrl": {
"methods": [
"generate_upload_url"
]
},
"GetFunction": {
"methods": [
"get_function"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
]
},
"ListFunctions": {
"methods": [
"list_functions"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"UpdateFunction": {
"methods": [
"update_function"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/functions_v1/services/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import CloudFunctionsServiceClient
from .async_client import CloudFunctionsServiceAsyncClient

Expand Down
Loading