google-cloud-capacityplanner 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- google/cloud/capacityplanner/__init__.py +157 -0
- google/cloud/capacityplanner/gapic_version.py +16 -0
- google/cloud/capacityplanner/py.typed +2 -0
- google/cloud/capacityplanner_v1beta/__init__.py +145 -0
- google/cloud/capacityplanner_v1beta/gapic_metadata.json +182 -0
- google/cloud/capacityplanner_v1beta/gapic_version.py +16 -0
- google/cloud/capacityplanner_v1beta/py.typed +2 -0
- google/cloud/capacityplanner_v1beta/services/__init__.py +15 -0
- google/cloud/capacityplanner_v1beta/services/capacity_planning_service/__init__.py +22 -0
- google/cloud/capacityplanner_v1beta/services/capacity_planning_service/async_client.py +707 -0
- google/cloud/capacityplanner_v1beta/services/capacity_planning_service/client.py +1123 -0
- google/cloud/capacityplanner_v1beta/services/capacity_planning_service/pagers.py +201 -0
- google/cloud/capacityplanner_v1beta/services/capacity_planning_service/transports/__init__.py +41 -0
- google/cloud/capacityplanner_v1beta/services/capacity_planning_service/transports/base.py +238 -0
- google/cloud/capacityplanner_v1beta/services/capacity_planning_service/transports/grpc.py +425 -0
- google/cloud/capacityplanner_v1beta/services/capacity_planning_service/transports/grpc_asyncio.py +491 -0
- google/cloud/capacityplanner_v1beta/services/capacity_planning_service/transports/rest.py +859 -0
- google/cloud/capacityplanner_v1beta/services/capacity_planning_service/transports/rest_base.py +252 -0
- google/cloud/capacityplanner_v1beta/services/usage_service/__init__.py +22 -0
- google/cloud/capacityplanner_v1beta/services/usage_service/async_client.py +920 -0
- google/cloud/capacityplanner_v1beta/services/usage_service/client.py +1359 -0
- google/cloud/capacityplanner_v1beta/services/usage_service/transports/__init__.py +36 -0
- google/cloud/capacityplanner_v1beta/services/usage_service/transports/base.py +253 -0
- google/cloud/capacityplanner_v1beta/services/usage_service/transports/grpc.py +525 -0
- google/cloud/capacityplanner_v1beta/services/usage_service/transports/grpc_asyncio.py +577 -0
- google/cloud/capacityplanner_v1beta/services/usage_service/transports/rest.py +1525 -0
- google/cloud/capacityplanner_v1beta/services/usage_service/transports/rest_base.py +482 -0
- google/cloud/capacityplanner_v1beta/types/__init__.py +131 -0
- google/cloud/capacityplanner_v1beta/types/allocation.py +331 -0
- google/cloud/capacityplanner_v1beta/types/capacity_planning_service.py +703 -0
- google/cloud/capacityplanner_v1beta/types/future_reservation.py +301 -0
- google/cloud/capacityplanner_v1beta/types/location.py +115 -0
- google/cloud/capacityplanner_v1beta/types/resource.py +287 -0
- google/cloud/capacityplanner_v1beta/types/usage_service.py +1598 -0
- google_cloud_capacityplanner-0.1.0.dist-info/METADATA +239 -0
- google_cloud_capacityplanner-0.1.0.dist-info/RECORD +39 -0
- google_cloud_capacityplanner-0.1.0.dist-info/WHEEL +5 -0
- google_cloud_capacityplanner-0.1.0.dist-info/licenses/LICENSE +202 -0
- google_cloud_capacityplanner-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
from google.cloud.capacityplanner import gapic_version as package_version
|
|
17
|
+
|
|
18
|
+
__version__ = package_version.__version__
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from google.cloud.capacityplanner_v1beta.services.capacity_planning_service.async_client import (
|
|
22
|
+
CapacityPlanningServiceAsyncClient,
|
|
23
|
+
)
|
|
24
|
+
from google.cloud.capacityplanner_v1beta.services.capacity_planning_service.client import (
|
|
25
|
+
CapacityPlanningServiceClient,
|
|
26
|
+
)
|
|
27
|
+
from google.cloud.capacityplanner_v1beta.services.usage_service.async_client import (
|
|
28
|
+
UsageServiceAsyncClient,
|
|
29
|
+
)
|
|
30
|
+
from google.cloud.capacityplanner_v1beta.services.usage_service.client import (
|
|
31
|
+
UsageServiceClient,
|
|
32
|
+
)
|
|
33
|
+
from google.cloud.capacityplanner_v1beta.types.allocation import Allocation
|
|
34
|
+
from google.cloud.capacityplanner_v1beta.types.capacity_planning_service import (
|
|
35
|
+
CapacityPlan,
|
|
36
|
+
CapacityPlanFilters,
|
|
37
|
+
CapacityPlanKey,
|
|
38
|
+
CapacityPlanView,
|
|
39
|
+
CapacityType,
|
|
40
|
+
ChildResourceDemand,
|
|
41
|
+
DemandMetadata,
|
|
42
|
+
DemandPreference,
|
|
43
|
+
DemandValue,
|
|
44
|
+
DemandValues,
|
|
45
|
+
GetCapacityPlanRequest,
|
|
46
|
+
QueryCapacityPlanInsightsRequest,
|
|
47
|
+
QueryCapacityPlanInsightsResponse,
|
|
48
|
+
QueryCapacityPlansRequest,
|
|
49
|
+
QueryCapacityPlansResponse,
|
|
50
|
+
ResourceDemand,
|
|
51
|
+
ServiceDemand,
|
|
52
|
+
State,
|
|
53
|
+
TimeSeriesView,
|
|
54
|
+
TimeValue,
|
|
55
|
+
User,
|
|
56
|
+
)
|
|
57
|
+
from google.cloud.capacityplanner_v1beta.types.future_reservation import (
|
|
58
|
+
FutureReservation,
|
|
59
|
+
)
|
|
60
|
+
from google.cloud.capacityplanner_v1beta.types.location import (
|
|
61
|
+
LocationIdentifier,
|
|
62
|
+
LocationLevel,
|
|
63
|
+
)
|
|
64
|
+
from google.cloud.capacityplanner_v1beta.types.resource import (
|
|
65
|
+
ResourceAttribute,
|
|
66
|
+
ResourceContainer,
|
|
67
|
+
ResourceIdentifier,
|
|
68
|
+
ResourceIdKey,
|
|
69
|
+
ResourceValue,
|
|
70
|
+
Unit,
|
|
71
|
+
Value,
|
|
72
|
+
)
|
|
73
|
+
from google.cloud.capacityplanner_v1beta.types.usage_service import (
|
|
74
|
+
BigQueryDestination,
|
|
75
|
+
ExportForecastsRequest,
|
|
76
|
+
ExportForecastsResponse,
|
|
77
|
+
ExportReservationsUsageRequest,
|
|
78
|
+
ExportReservationsUsageResponse,
|
|
79
|
+
ExportUsageHistoriesRequest,
|
|
80
|
+
ExportUsageHistoriesResponse,
|
|
81
|
+
Forecast,
|
|
82
|
+
GcsDestination,
|
|
83
|
+
MachineShape,
|
|
84
|
+
OperationMetadata,
|
|
85
|
+
OutputConfig,
|
|
86
|
+
Point,
|
|
87
|
+
QueryForecastsRequest,
|
|
88
|
+
QueryForecastsResponse,
|
|
89
|
+
QueryReservationsRequest,
|
|
90
|
+
QueryReservationsResponse,
|
|
91
|
+
QueryUsageHistoriesRequest,
|
|
92
|
+
QueryUsageHistoriesResponse,
|
|
93
|
+
ReservationData,
|
|
94
|
+
TimeSeries,
|
|
95
|
+
UsageHistory,
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
__all__ = (
|
|
99
|
+
"CapacityPlanningServiceClient",
|
|
100
|
+
"CapacityPlanningServiceAsyncClient",
|
|
101
|
+
"UsageServiceClient",
|
|
102
|
+
"UsageServiceAsyncClient",
|
|
103
|
+
"Allocation",
|
|
104
|
+
"CapacityPlan",
|
|
105
|
+
"CapacityPlanFilters",
|
|
106
|
+
"CapacityPlanKey",
|
|
107
|
+
"CapacityPlanView",
|
|
108
|
+
"ChildResourceDemand",
|
|
109
|
+
"DemandMetadata",
|
|
110
|
+
"DemandPreference",
|
|
111
|
+
"DemandValue",
|
|
112
|
+
"DemandValues",
|
|
113
|
+
"GetCapacityPlanRequest",
|
|
114
|
+
"QueryCapacityPlanInsightsRequest",
|
|
115
|
+
"QueryCapacityPlanInsightsResponse",
|
|
116
|
+
"QueryCapacityPlansRequest",
|
|
117
|
+
"QueryCapacityPlansResponse",
|
|
118
|
+
"ResourceDemand",
|
|
119
|
+
"ServiceDemand",
|
|
120
|
+
"TimeSeriesView",
|
|
121
|
+
"TimeValue",
|
|
122
|
+
"User",
|
|
123
|
+
"CapacityType",
|
|
124
|
+
"State",
|
|
125
|
+
"FutureReservation",
|
|
126
|
+
"LocationIdentifier",
|
|
127
|
+
"LocationLevel",
|
|
128
|
+
"ResourceAttribute",
|
|
129
|
+
"ResourceContainer",
|
|
130
|
+
"ResourceIdentifier",
|
|
131
|
+
"ResourceIdKey",
|
|
132
|
+
"ResourceValue",
|
|
133
|
+
"Value",
|
|
134
|
+
"Unit",
|
|
135
|
+
"BigQueryDestination",
|
|
136
|
+
"ExportForecastsRequest",
|
|
137
|
+
"ExportForecastsResponse",
|
|
138
|
+
"ExportReservationsUsageRequest",
|
|
139
|
+
"ExportReservationsUsageResponse",
|
|
140
|
+
"ExportUsageHistoriesRequest",
|
|
141
|
+
"ExportUsageHistoriesResponse",
|
|
142
|
+
"Forecast",
|
|
143
|
+
"GcsDestination",
|
|
144
|
+
"MachineShape",
|
|
145
|
+
"OperationMetadata",
|
|
146
|
+
"OutputConfig",
|
|
147
|
+
"Point",
|
|
148
|
+
"QueryForecastsRequest",
|
|
149
|
+
"QueryForecastsResponse",
|
|
150
|
+
"QueryReservationsRequest",
|
|
151
|
+
"QueryReservationsResponse",
|
|
152
|
+
"QueryUsageHistoriesRequest",
|
|
153
|
+
"QueryUsageHistoriesResponse",
|
|
154
|
+
"ReservationData",
|
|
155
|
+
"TimeSeries",
|
|
156
|
+
"UsageHistory",
|
|
157
|
+
)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
__version__ = "0.1.0" # {x-release-please-version}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
from google.cloud.capacityplanner_v1beta import gapic_version as package_version
|
|
17
|
+
|
|
18
|
+
__version__ = package_version.__version__
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from .services.capacity_planning_service import (
|
|
22
|
+
CapacityPlanningServiceAsyncClient,
|
|
23
|
+
CapacityPlanningServiceClient,
|
|
24
|
+
)
|
|
25
|
+
from .services.usage_service import UsageServiceAsyncClient, UsageServiceClient
|
|
26
|
+
from .types.allocation import Allocation
|
|
27
|
+
from .types.capacity_planning_service import (
|
|
28
|
+
CapacityPlan,
|
|
29
|
+
CapacityPlanFilters,
|
|
30
|
+
CapacityPlanKey,
|
|
31
|
+
CapacityPlanView,
|
|
32
|
+
CapacityType,
|
|
33
|
+
ChildResourceDemand,
|
|
34
|
+
DemandMetadata,
|
|
35
|
+
DemandPreference,
|
|
36
|
+
DemandValue,
|
|
37
|
+
DemandValues,
|
|
38
|
+
GetCapacityPlanRequest,
|
|
39
|
+
QueryCapacityPlanInsightsRequest,
|
|
40
|
+
QueryCapacityPlanInsightsResponse,
|
|
41
|
+
QueryCapacityPlansRequest,
|
|
42
|
+
QueryCapacityPlansResponse,
|
|
43
|
+
ResourceDemand,
|
|
44
|
+
ServiceDemand,
|
|
45
|
+
State,
|
|
46
|
+
TimeSeriesView,
|
|
47
|
+
TimeValue,
|
|
48
|
+
User,
|
|
49
|
+
)
|
|
50
|
+
from .types.future_reservation import FutureReservation
|
|
51
|
+
from .types.location import LocationIdentifier, LocationLevel
|
|
52
|
+
from .types.resource import (
|
|
53
|
+
ResourceAttribute,
|
|
54
|
+
ResourceContainer,
|
|
55
|
+
ResourceIdentifier,
|
|
56
|
+
ResourceIdKey,
|
|
57
|
+
ResourceValue,
|
|
58
|
+
Unit,
|
|
59
|
+
Value,
|
|
60
|
+
)
|
|
61
|
+
from .types.usage_service import (
|
|
62
|
+
BigQueryDestination,
|
|
63
|
+
ExportForecastsRequest,
|
|
64
|
+
ExportForecastsResponse,
|
|
65
|
+
ExportReservationsUsageRequest,
|
|
66
|
+
ExportReservationsUsageResponse,
|
|
67
|
+
ExportUsageHistoriesRequest,
|
|
68
|
+
ExportUsageHistoriesResponse,
|
|
69
|
+
Forecast,
|
|
70
|
+
GcsDestination,
|
|
71
|
+
MachineShape,
|
|
72
|
+
OperationMetadata,
|
|
73
|
+
OutputConfig,
|
|
74
|
+
Point,
|
|
75
|
+
QueryForecastsRequest,
|
|
76
|
+
QueryForecastsResponse,
|
|
77
|
+
QueryReservationsRequest,
|
|
78
|
+
QueryReservationsResponse,
|
|
79
|
+
QueryUsageHistoriesRequest,
|
|
80
|
+
QueryUsageHistoriesResponse,
|
|
81
|
+
ReservationData,
|
|
82
|
+
TimeSeries,
|
|
83
|
+
UsageHistory,
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
__all__ = (
|
|
87
|
+
"CapacityPlanningServiceAsyncClient",
|
|
88
|
+
"UsageServiceAsyncClient",
|
|
89
|
+
"Allocation",
|
|
90
|
+
"BigQueryDestination",
|
|
91
|
+
"CapacityPlan",
|
|
92
|
+
"CapacityPlanFilters",
|
|
93
|
+
"CapacityPlanKey",
|
|
94
|
+
"CapacityPlanView",
|
|
95
|
+
"CapacityPlanningServiceClient",
|
|
96
|
+
"CapacityType",
|
|
97
|
+
"ChildResourceDemand",
|
|
98
|
+
"DemandMetadata",
|
|
99
|
+
"DemandPreference",
|
|
100
|
+
"DemandValue",
|
|
101
|
+
"DemandValues",
|
|
102
|
+
"ExportForecastsRequest",
|
|
103
|
+
"ExportForecastsResponse",
|
|
104
|
+
"ExportReservationsUsageRequest",
|
|
105
|
+
"ExportReservationsUsageResponse",
|
|
106
|
+
"ExportUsageHistoriesRequest",
|
|
107
|
+
"ExportUsageHistoriesResponse",
|
|
108
|
+
"Forecast",
|
|
109
|
+
"FutureReservation",
|
|
110
|
+
"GcsDestination",
|
|
111
|
+
"GetCapacityPlanRequest",
|
|
112
|
+
"LocationIdentifier",
|
|
113
|
+
"LocationLevel",
|
|
114
|
+
"MachineShape",
|
|
115
|
+
"OperationMetadata",
|
|
116
|
+
"OutputConfig",
|
|
117
|
+
"Point",
|
|
118
|
+
"QueryCapacityPlanInsightsRequest",
|
|
119
|
+
"QueryCapacityPlanInsightsResponse",
|
|
120
|
+
"QueryCapacityPlansRequest",
|
|
121
|
+
"QueryCapacityPlansResponse",
|
|
122
|
+
"QueryForecastsRequest",
|
|
123
|
+
"QueryForecastsResponse",
|
|
124
|
+
"QueryReservationsRequest",
|
|
125
|
+
"QueryReservationsResponse",
|
|
126
|
+
"QueryUsageHistoriesRequest",
|
|
127
|
+
"QueryUsageHistoriesResponse",
|
|
128
|
+
"ReservationData",
|
|
129
|
+
"ResourceAttribute",
|
|
130
|
+
"ResourceContainer",
|
|
131
|
+
"ResourceDemand",
|
|
132
|
+
"ResourceIdKey",
|
|
133
|
+
"ResourceIdentifier",
|
|
134
|
+
"ResourceValue",
|
|
135
|
+
"ServiceDemand",
|
|
136
|
+
"State",
|
|
137
|
+
"TimeSeries",
|
|
138
|
+
"TimeSeriesView",
|
|
139
|
+
"TimeValue",
|
|
140
|
+
"Unit",
|
|
141
|
+
"UsageHistory",
|
|
142
|
+
"UsageServiceClient",
|
|
143
|
+
"User",
|
|
144
|
+
"Value",
|
|
145
|
+
)
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
|
|
3
|
+
"language": "python",
|
|
4
|
+
"libraryPackage": "google.cloud.capacityplanner_v1beta",
|
|
5
|
+
"protoPackage": "google.cloud.capacityplanner.v1beta",
|
|
6
|
+
"schema": "1.0",
|
|
7
|
+
"services": {
|
|
8
|
+
"CapacityPlanningService": {
|
|
9
|
+
"clients": {
|
|
10
|
+
"grpc": {
|
|
11
|
+
"libraryClient": "CapacityPlanningServiceClient",
|
|
12
|
+
"rpcs": {
|
|
13
|
+
"GetCapacityPlan": {
|
|
14
|
+
"methods": [
|
|
15
|
+
"get_capacity_plan"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"QueryCapacityPlanInsights": {
|
|
19
|
+
"methods": [
|
|
20
|
+
"query_capacity_plan_insights"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"QueryCapacityPlans": {
|
|
24
|
+
"methods": [
|
|
25
|
+
"query_capacity_plans"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"grpc-async": {
|
|
31
|
+
"libraryClient": "CapacityPlanningServiceAsyncClient",
|
|
32
|
+
"rpcs": {
|
|
33
|
+
"GetCapacityPlan": {
|
|
34
|
+
"methods": [
|
|
35
|
+
"get_capacity_plan"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"QueryCapacityPlanInsights": {
|
|
39
|
+
"methods": [
|
|
40
|
+
"query_capacity_plan_insights"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"QueryCapacityPlans": {
|
|
44
|
+
"methods": [
|
|
45
|
+
"query_capacity_plans"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"rest": {
|
|
51
|
+
"libraryClient": "CapacityPlanningServiceClient",
|
|
52
|
+
"rpcs": {
|
|
53
|
+
"GetCapacityPlan": {
|
|
54
|
+
"methods": [
|
|
55
|
+
"get_capacity_plan"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"QueryCapacityPlanInsights": {
|
|
59
|
+
"methods": [
|
|
60
|
+
"query_capacity_plan_insights"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"QueryCapacityPlans": {
|
|
64
|
+
"methods": [
|
|
65
|
+
"query_capacity_plans"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"UsageService": {
|
|
73
|
+
"clients": {
|
|
74
|
+
"grpc": {
|
|
75
|
+
"libraryClient": "UsageServiceClient",
|
|
76
|
+
"rpcs": {
|
|
77
|
+
"ExportForecasts": {
|
|
78
|
+
"methods": [
|
|
79
|
+
"export_forecasts"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"ExportReservationsUsage": {
|
|
83
|
+
"methods": [
|
|
84
|
+
"export_reservations_usage"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"ExportUsageHistories": {
|
|
88
|
+
"methods": [
|
|
89
|
+
"export_usage_histories"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"QueryForecasts": {
|
|
93
|
+
"methods": [
|
|
94
|
+
"query_forecasts"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"QueryReservations": {
|
|
98
|
+
"methods": [
|
|
99
|
+
"query_reservations"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"QueryUsageHistories": {
|
|
103
|
+
"methods": [
|
|
104
|
+
"query_usage_histories"
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"grpc-async": {
|
|
110
|
+
"libraryClient": "UsageServiceAsyncClient",
|
|
111
|
+
"rpcs": {
|
|
112
|
+
"ExportForecasts": {
|
|
113
|
+
"methods": [
|
|
114
|
+
"export_forecasts"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"ExportReservationsUsage": {
|
|
118
|
+
"methods": [
|
|
119
|
+
"export_reservations_usage"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"ExportUsageHistories": {
|
|
123
|
+
"methods": [
|
|
124
|
+
"export_usage_histories"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"QueryForecasts": {
|
|
128
|
+
"methods": [
|
|
129
|
+
"query_forecasts"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"QueryReservations": {
|
|
133
|
+
"methods": [
|
|
134
|
+
"query_reservations"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"QueryUsageHistories": {
|
|
138
|
+
"methods": [
|
|
139
|
+
"query_usage_histories"
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"rest": {
|
|
145
|
+
"libraryClient": "UsageServiceClient",
|
|
146
|
+
"rpcs": {
|
|
147
|
+
"ExportForecasts": {
|
|
148
|
+
"methods": [
|
|
149
|
+
"export_forecasts"
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
"ExportReservationsUsage": {
|
|
153
|
+
"methods": [
|
|
154
|
+
"export_reservations_usage"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"ExportUsageHistories": {
|
|
158
|
+
"methods": [
|
|
159
|
+
"export_usage_histories"
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
"QueryForecasts": {
|
|
163
|
+
"methods": [
|
|
164
|
+
"query_forecasts"
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"QueryReservations": {
|
|
168
|
+
"methods": [
|
|
169
|
+
"query_reservations"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
"QueryUsageHistories": {
|
|
173
|
+
"methods": [
|
|
174
|
+
"query_usage_histories"
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
__version__ = "0.1.0" # {x-release-please-version}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2025 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
from .async_client import CapacityPlanningServiceAsyncClient
|
|
17
|
+
from .client import CapacityPlanningServiceClient
|
|
18
|
+
|
|
19
|
+
__all__ = (
|
|
20
|
+
"CapacityPlanningServiceClient",
|
|
21
|
+
"CapacityPlanningServiceAsyncClient",
|
|
22
|
+
)
|