Skip to content

Commit

Permalink
Merge branch 'main' into owl-bot-copy-packages-google-cloud-kms
Browse files Browse the repository at this point in the history
  • Loading branch information
vchudnov-g authored Jan 8, 2025
2 parents 1096e69 + c757c44 commit c881d23
Show file tree
Hide file tree
Showing 67 changed files with 24,235 additions and 19 deletions.
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.9.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.9.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 @@ -269,7 +269,7 @@ class Catalog(proto.Message):
Attributes:
name (str):
Output only. The resource name of the target catalog, in the
format of \`catalogs/{catalog}'.
format of ``catalogs/{catalog}``.
display_name (str):
Output only. The descriptive name of the
catalog as it appears in UIs.
Expand Down Expand Up @@ -776,7 +776,7 @@ class Version(proto.Message):
Attributes:
name (str):
Output only. The resource name of the version, in the format
\`catalogs/{catalog}/products/{product}/versions/[a-z][-a-z0-9]*[a-z0-9]'.
``catalogs/{catalog}/products/{product}/versions/[a-z][-a-z0-9]*[a-z0-9]``.
A unique identifier for the version under a product.
description (str):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-private-catalog",
"version": "0.9.14"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
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.
#
Loading

0 comments on commit c881d23

Please sign in to comment.