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

Commit 45110a8

Browse files
1 parent 3e8b788 commit 45110a8

40 files changed

+1530
-852
lines changed

docs/budgets_v1/budget_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ BudgetService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.billing.budgets_v1.services.budget_service.pagers
109
:members:
1110
:inherited-members:

docs/budgets_v1beta1/budget_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ BudgetService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.billing.budgets_v1beta1.services.budget_service.pagers
109
:members:
1110
:inherited-members:
Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,18 +14,21 @@
1514
# limitations under the License.
1615
#
1716

18-
from google.cloud.billing.budgets_v1.services.budget_service.async_client import (
19-
BudgetServiceAsyncClient,
20-
)
2117
from google.cloud.billing.budgets_v1.services.budget_service.client import (
2218
BudgetServiceClient,
2319
)
20+
from google.cloud.billing.budgets_v1.services.budget_service.async_client import (
21+
BudgetServiceAsyncClient,
22+
)
23+
2424
from google.cloud.billing.budgets_v1.types.budget_model import Budget
2525
from google.cloud.billing.budgets_v1.types.budget_model import BudgetAmount
26+
from google.cloud.billing.budgets_v1.types.budget_model import CustomPeriod
2627
from google.cloud.billing.budgets_v1.types.budget_model import Filter
2728
from google.cloud.billing.budgets_v1.types.budget_model import LastPeriodAmount
2829
from google.cloud.billing.budgets_v1.types.budget_model import NotificationsRule
2930
from google.cloud.billing.budgets_v1.types.budget_model import ThresholdRule
31+
from google.cloud.billing.budgets_v1.types.budget_model import CalendarPeriod
3032
from google.cloud.billing.budgets_v1.types.budget_service import CreateBudgetRequest
3133
from google.cloud.billing.budgets_v1.types.budget_service import DeleteBudgetRequest
3234
from google.cloud.billing.budgets_v1.types.budget_service import GetBudgetRequest
@@ -35,18 +37,20 @@
3537
from google.cloud.billing.budgets_v1.types.budget_service import UpdateBudgetRequest
3638

3739
__all__ = (
40+
"BudgetServiceClient",
41+
"BudgetServiceAsyncClient",
3842
"Budget",
3943
"BudgetAmount",
40-
"BudgetServiceAsyncClient",
41-
"BudgetServiceClient",
44+
"CustomPeriod",
45+
"Filter",
46+
"LastPeriodAmount",
47+
"NotificationsRule",
48+
"ThresholdRule",
49+
"CalendarPeriod",
4250
"CreateBudgetRequest",
4351
"DeleteBudgetRequest",
44-
"Filter",
4552
"GetBudgetRequest",
46-
"LastPeriodAmount",
4753
"ListBudgetsRequest",
4854
"ListBudgetsResponse",
49-
"NotificationsRule",
50-
"ThresholdRule",
5155
"UpdateBudgetRequest",
5256
)

google/cloud/billing/budgets_v1/__init__.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,24 +15,31 @@
1615
#
1716

1817
from .services.budget_service import BudgetServiceClient
18+
from .services.budget_service import BudgetServiceAsyncClient
19+
1920
from .types.budget_model import Budget
2021
from .types.budget_model import BudgetAmount
22+
from .types.budget_model import CustomPeriod
2123
from .types.budget_model import Filter
2224
from .types.budget_model import LastPeriodAmount
2325
from .types.budget_model import NotificationsRule
2426
from .types.budget_model import ThresholdRule
27+
from .types.budget_model import CalendarPeriod
2528
from .types.budget_service import CreateBudgetRequest
2629
from .types.budget_service import DeleteBudgetRequest
2730
from .types.budget_service import GetBudgetRequest
2831
from .types.budget_service import ListBudgetsRequest
2932
from .types.budget_service import ListBudgetsResponse
3033
from .types.budget_service import UpdateBudgetRequest
3134

32-
3335
__all__ = (
36+
"BudgetServiceAsyncClient",
3437
"Budget",
3538
"BudgetAmount",
39+
"BudgetServiceClient",
40+
"CalendarPeriod",
3641
"CreateBudgetRequest",
42+
"CustomPeriod",
3743
"DeleteBudgetRequest",
3844
"Filter",
3945
"GetBudgetRequest",
@@ -43,5 +49,4 @@
4349
"NotificationsRule",
4450
"ThresholdRule",
4551
"UpdateBudgetRequest",
46-
"BudgetServiceClient",
4752
)
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.billing.budgets_v1",
5+
"protoPackage": "google.cloud.billing.budgets.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"BudgetService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "BudgetServiceClient",
12+
"rpcs": {
13+
"CreateBudget": {
14+
"methods": [
15+
"create_budget"
16+
]
17+
},
18+
"DeleteBudget": {
19+
"methods": [
20+
"delete_budget"
21+
]
22+
},
23+
"GetBudget": {
24+
"methods": [
25+
"get_budget"
26+
]
27+
},
28+
"ListBudgets": {
29+
"methods": [
30+
"list_budgets"
31+
]
32+
},
33+
"UpdateBudget": {
34+
"methods": [
35+
"update_budget"
36+
]
37+
}
38+
}
39+
},
40+
"grpc-async": {
41+
"libraryClient": "BudgetServiceAsyncClient",
42+
"rpcs": {
43+
"CreateBudget": {
44+
"methods": [
45+
"create_budget"
46+
]
47+
},
48+
"DeleteBudget": {
49+
"methods": [
50+
"delete_budget"
51+
]
52+
},
53+
"GetBudget": {
54+
"methods": [
55+
"get_budget"
56+
]
57+
},
58+
"ListBudgets": {
59+
"methods": [
60+
"list_budgets"
61+
]
62+
},
63+
"UpdateBudget": {
64+
"methods": [
65+
"update_budget"
66+
]
67+
}
68+
}
69+
}
70+
}
71+
}
72+
}
73+
}

google/cloud/billing/budgets_v1/services/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

google/cloud/billing/budgets_v1/services/budget_service/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
1615
#
17-
1816
from .client import BudgetServiceClient
1917
from .async_client import BudgetServiceAsyncClient
2018

0 commit comments

Comments
 (0)