Skip to content
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
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:
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:
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
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:
11 changes: 11 additions & 0 deletions packages/google-cloud-quotas/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

.. include:: multiprocessing.rst

This package includes clients for multiple versions of Cloud Quotas API.
By default, you will get version ``cloudquotas_v1``.


API Reference
-------------
Expand All @@ -11,6 +14,14 @@ API Reference
cloudquotas_v1/services_
cloudquotas_v1/types_

API Reference
-------------
.. toctree::
:maxdepth: 2

cloudquotas_v1beta/services_
cloudquotas_v1beta/types_


Changelog
---------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.14" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.14" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
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",
)
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"
]
}
}
}
}
}
}
}
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}
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.
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.
#
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",
)
Loading