-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add v1beta client libraries for cloudquotas API (#13408)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 712974297 Source-Link: googleapis/googleapis@2884323 Source-Link: googleapis/googleapis-gen@c2c2f42 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXF1b3Rhcy8uT3dsQm90LnlhbWwiLCJoIjoiYzJjMmY0MmNkZWJhYTlhYTIwZGM2OGU2ZGRhYzczZGE1NzJmZjIxYyJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <[email protected]>
- Loading branch information
1 parent
ee59d69
commit c757c44
Showing
59 changed files
with
24,222 additions
and
3 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
packages/google-cloud-quotas/docs/cloudquotas_v1beta/cloud_quotas.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CloudQuotas | ||
----------------------------- | ||
|
||
.. automodule:: google.cloud.cloudquotas_v1beta.services.cloud_quotas | ||
:members: | ||
:inherited-members: | ||
|
||
.. automodule:: google.cloud.cloudquotas_v1beta.services.cloud_quotas.pagers | ||
:members: | ||
:inherited-members: |
6 changes: 6 additions & 0 deletions
6
...google-cloud-quotas/docs/cloudquotas_v1beta/quota_adjuster_settings_manager.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
QuotaAdjusterSettingsManager | ||
---------------------------------------------- | ||
|
||
.. automodule:: google.cloud.cloudquotas_v1beta.services.quota_adjuster_settings_manager | ||
:members: | ||
:inherited-members: |
7 changes: 7 additions & 0 deletions
7
packages/google-cloud-quotas/docs/cloudquotas_v1beta/services_.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Services for Google Cloud Cloudquotas v1beta API | ||
================================================ | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
cloud_quotas | ||
quota_adjuster_settings_manager |
6 changes: 6 additions & 0 deletions
6
packages/google-cloud-quotas/docs/cloudquotas_v1beta/types_.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Types for Google Cloud Cloudquotas v1beta API | ||
============================================= | ||
|
||
.. automodule:: google.cloud.cloudquotas_v1beta.types | ||
:members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
packages/google-cloud-quotas/google/cloud/cloudquotas_v1beta/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2024 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
from google.cloud.cloudquotas_v1beta import gapic_version as package_version | ||
|
||
__version__ = package_version.__version__ | ||
|
||
|
||
from .services.cloud_quotas import CloudQuotasAsyncClient, CloudQuotasClient | ||
from .services.quota_adjuster_settings_manager import ( | ||
QuotaAdjusterSettingsManagerAsyncClient, | ||
QuotaAdjusterSettingsManagerClient, | ||
) | ||
from .types.cloudquotas import ( | ||
CreateQuotaPreferenceRequest, | ||
GetQuotaInfoRequest, | ||
GetQuotaPreferenceRequest, | ||
ListQuotaInfosRequest, | ||
ListQuotaInfosResponse, | ||
ListQuotaPreferencesRequest, | ||
ListQuotaPreferencesResponse, | ||
UpdateQuotaPreferenceRequest, | ||
) | ||
from .types.quota_adjuster_settings import ( | ||
GetQuotaAdjusterSettingsRequest, | ||
QuotaAdjusterSettings, | ||
UpdateQuotaAdjusterSettingsRequest, | ||
) | ||
from .types.resources import ( | ||
DimensionsInfo, | ||
QuotaConfig, | ||
QuotaDetails, | ||
QuotaIncreaseEligibility, | ||
QuotaInfo, | ||
QuotaPreference, | ||
QuotaSafetyCheck, | ||
RolloutInfo, | ||
) | ||
|
||
__all__ = ( | ||
"CloudQuotasAsyncClient", | ||
"QuotaAdjusterSettingsManagerAsyncClient", | ||
"CloudQuotasClient", | ||
"CreateQuotaPreferenceRequest", | ||
"DimensionsInfo", | ||
"GetQuotaAdjusterSettingsRequest", | ||
"GetQuotaInfoRequest", | ||
"GetQuotaPreferenceRequest", | ||
"ListQuotaInfosRequest", | ||
"ListQuotaInfosResponse", | ||
"ListQuotaPreferencesRequest", | ||
"ListQuotaPreferencesResponse", | ||
"QuotaAdjusterSettings", | ||
"QuotaAdjusterSettingsManagerClient", | ||
"QuotaConfig", | ||
"QuotaDetails", | ||
"QuotaIncreaseEligibility", | ||
"QuotaInfo", | ||
"QuotaPreference", | ||
"QuotaSafetyCheck", | ||
"RolloutInfo", | ||
"UpdateQuotaAdjusterSettingsRequest", | ||
"UpdateQuotaPreferenceRequest", | ||
) |
167 changes: 167 additions & 0 deletions
167
packages/google-cloud-quotas/google/cloud/cloudquotas_v1beta/gapic_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
{ | ||
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods", | ||
"language": "python", | ||
"libraryPackage": "google.cloud.cloudquotas_v1beta", | ||
"protoPackage": "google.api.cloudquotas.v1beta", | ||
"schema": "1.0", | ||
"services": { | ||
"CloudQuotas": { | ||
"clients": { | ||
"grpc": { | ||
"libraryClient": "CloudQuotasClient", | ||
"rpcs": { | ||
"CreateQuotaPreference": { | ||
"methods": [ | ||
"create_quota_preference" | ||
] | ||
}, | ||
"GetQuotaInfo": { | ||
"methods": [ | ||
"get_quota_info" | ||
] | ||
}, | ||
"GetQuotaPreference": { | ||
"methods": [ | ||
"get_quota_preference" | ||
] | ||
}, | ||
"ListQuotaInfos": { | ||
"methods": [ | ||
"list_quota_infos" | ||
] | ||
}, | ||
"ListQuotaPreferences": { | ||
"methods": [ | ||
"list_quota_preferences" | ||
] | ||
}, | ||
"UpdateQuotaPreference": { | ||
"methods": [ | ||
"update_quota_preference" | ||
] | ||
} | ||
} | ||
}, | ||
"grpc-async": { | ||
"libraryClient": "CloudQuotasAsyncClient", | ||
"rpcs": { | ||
"CreateQuotaPreference": { | ||
"methods": [ | ||
"create_quota_preference" | ||
] | ||
}, | ||
"GetQuotaInfo": { | ||
"methods": [ | ||
"get_quota_info" | ||
] | ||
}, | ||
"GetQuotaPreference": { | ||
"methods": [ | ||
"get_quota_preference" | ||
] | ||
}, | ||
"ListQuotaInfos": { | ||
"methods": [ | ||
"list_quota_infos" | ||
] | ||
}, | ||
"ListQuotaPreferences": { | ||
"methods": [ | ||
"list_quota_preferences" | ||
] | ||
}, | ||
"UpdateQuotaPreference": { | ||
"methods": [ | ||
"update_quota_preference" | ||
] | ||
} | ||
} | ||
}, | ||
"rest": { | ||
"libraryClient": "CloudQuotasClient", | ||
"rpcs": { | ||
"CreateQuotaPreference": { | ||
"methods": [ | ||
"create_quota_preference" | ||
] | ||
}, | ||
"GetQuotaInfo": { | ||
"methods": [ | ||
"get_quota_info" | ||
] | ||
}, | ||
"GetQuotaPreference": { | ||
"methods": [ | ||
"get_quota_preference" | ||
] | ||
}, | ||
"ListQuotaInfos": { | ||
"methods": [ | ||
"list_quota_infos" | ||
] | ||
}, | ||
"ListQuotaPreferences": { | ||
"methods": [ | ||
"list_quota_preferences" | ||
] | ||
}, | ||
"UpdateQuotaPreference": { | ||
"methods": [ | ||
"update_quota_preference" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"QuotaAdjusterSettingsManager": { | ||
"clients": { | ||
"grpc": { | ||
"libraryClient": "QuotaAdjusterSettingsManagerClient", | ||
"rpcs": { | ||
"GetQuotaAdjusterSettings": { | ||
"methods": [ | ||
"get_quota_adjuster_settings" | ||
] | ||
}, | ||
"UpdateQuotaAdjusterSettings": { | ||
"methods": [ | ||
"update_quota_adjuster_settings" | ||
] | ||
} | ||
} | ||
}, | ||
"grpc-async": { | ||
"libraryClient": "QuotaAdjusterSettingsManagerAsyncClient", | ||
"rpcs": { | ||
"GetQuotaAdjusterSettings": { | ||
"methods": [ | ||
"get_quota_adjuster_settings" | ||
] | ||
}, | ||
"UpdateQuotaAdjusterSettings": { | ||
"methods": [ | ||
"update_quota_adjuster_settings" | ||
] | ||
} | ||
} | ||
}, | ||
"rest": { | ||
"libraryClient": "QuotaAdjusterSettingsManagerClient", | ||
"rpcs": { | ||
"GetQuotaAdjusterSettings": { | ||
"methods": [ | ||
"get_quota_adjuster_settings" | ||
] | ||
}, | ||
"UpdateQuotaAdjusterSettings": { | ||
"methods": [ | ||
"update_quota_adjuster_settings" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
packages/google-cloud-quotas/google/cloud/cloudquotas_v1beta/gapic_version.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2024 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
__version__ = "0.0.0" # {x-release-please-version} |
2 changes: 2 additions & 0 deletions
2
packages/google-cloud-quotas/google/cloud/cloudquotas_v1beta/py.typed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Marker file for PEP 561. | ||
# The google-cloud-quotas package uses inline types. |
15 changes: 15 additions & 0 deletions
15
packages/google-cloud-quotas/google/cloud/cloudquotas_v1beta/services/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2024 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# |
22 changes: 22 additions & 0 deletions
22
...ges/google-cloud-quotas/google/cloud/cloudquotas_v1beta/services/cloud_quotas/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2024 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
from .async_client import CloudQuotasAsyncClient | ||
from .client import CloudQuotasClient | ||
|
||
__all__ = ( | ||
"CloudQuotasClient", | ||
"CloudQuotasAsyncClient", | ||
) |
Oops, something went wrong.