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

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#90)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: googleapis/googleapis-gen@0a3c7d2
  • Loading branch information
gcf-owl-bot[bot] committed May 14, 2021
1 parent c1a049f commit 459b0f4
Show file tree
Hide file tree
Showing 42 changed files with 1,452 additions and 1,279 deletions.
1 change: 0 additions & 1 deletion docs/recommender_v1/recommender.rst
Expand Up @@ -5,7 +5,6 @@ Recommender
:members:
:inherited-members:


.. automodule:: google.cloud.recommender_v1.services.recommender.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/recommender_v1beta1/recommender.rst
Expand Up @@ -5,7 +5,6 @@ Recommender
:members:
:inherited-members:


.. automodule:: google.cloud.recommender_v1beta1.services.recommender.pagers
:members:
:inherited-members:
26 changes: 13 additions & 13 deletions google/cloud/recommender/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,10 +14,11 @@
# limitations under the License.
#

from google.cloud.recommender_v1.services.recommender.client import RecommenderClient
from google.cloud.recommender_v1.services.recommender.async_client import (
RecommenderAsyncClient,
)
from google.cloud.recommender_v1.services.recommender.client import RecommenderClient

from google.cloud.recommender_v1.types.insight import Insight
from google.cloud.recommender_v1.types.insight import InsightStateInfo
from google.cloud.recommender_v1.types.recommendation import CostProjection
Expand Down Expand Up @@ -55,12 +55,20 @@
)

__all__ = (
"RecommenderClient",
"RecommenderAsyncClient",
"Insight",
"InsightStateInfo",
"CostProjection",
"Impact",
"Operation",
"OperationGroup",
"Recommendation",
"RecommendationContent",
"RecommendationStateInfo",
"ValueMatcher",
"GetInsightRequest",
"GetRecommendationRequest",
"Impact",
"Insight",
"InsightStateInfo",
"ListInsightsRequest",
"ListInsightsResponse",
"ListRecommendationsRequest",
Expand All @@ -69,12 +77,4 @@
"MarkRecommendationClaimedRequest",
"MarkRecommendationFailedRequest",
"MarkRecommendationSucceededRequest",
"Operation",
"OperationGroup",
"Recommendation",
"RecommendationContent",
"RecommendationStateInfo",
"RecommenderAsyncClient",
"RecommenderClient",
"ValueMatcher",
)
7 changes: 4 additions & 3 deletions google/cloud/recommender_v1/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,6 +15,8 @@
#

from .services.recommender import RecommenderClient
from .services.recommender import RecommenderAsyncClient

from .types.insight import Insight
from .types.insight import InsightStateInfo
from .types.recommendation import CostProjection
Expand All @@ -37,8 +38,8 @@
from .types.recommender_service import MarkRecommendationFailedRequest
from .types.recommender_service import MarkRecommendationSucceededRequest


__all__ = (
"RecommenderAsyncClient",
"CostProjection",
"GetInsightRequest",
"GetRecommendationRequest",
Expand All @@ -58,6 +59,6 @@
"Recommendation",
"RecommendationContent",
"RecommendationStateInfo",
"ValueMatcher",
"RecommenderClient",
"ValueMatcher",
)
103 changes: 103 additions & 0 deletions google/cloud/recommender_v1/gapic_metadata.json
@@ -0,0 +1,103 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.recommender_v1",
"protoPackage": "google.cloud.recommender.v1",
"schema": "1.0",
"services": {
"Recommender": {
"clients": {
"grpc": {
"libraryClient": "RecommenderClient",
"rpcs": {
"GetInsight": {
"methods": [
"get_insight"
]
},
"GetRecommendation": {
"methods": [
"get_recommendation"
]
},
"ListInsights": {
"methods": [
"list_insights"
]
},
"ListRecommendations": {
"methods": [
"list_recommendations"
]
},
"MarkInsightAccepted": {
"methods": [
"mark_insight_accepted"
]
},
"MarkRecommendationClaimed": {
"methods": [
"mark_recommendation_claimed"
]
},
"MarkRecommendationFailed": {
"methods": [
"mark_recommendation_failed"
]
},
"MarkRecommendationSucceeded": {
"methods": [
"mark_recommendation_succeeded"
]
}
}
},
"grpc-async": {
"libraryClient": "RecommenderAsyncClient",
"rpcs": {
"GetInsight": {
"methods": [
"get_insight"
]
},
"GetRecommendation": {
"methods": [
"get_recommendation"
]
},
"ListInsights": {
"methods": [
"list_insights"
]
},
"ListRecommendations": {
"methods": [
"list_recommendations"
]
},
"MarkInsightAccepted": {
"methods": [
"mark_insight_accepted"
]
},
"MarkRecommendationClaimed": {
"methods": [
"mark_recommendation_claimed"
]
},
"MarkRecommendationFailed": {
"methods": [
"mark_recommendation_failed"
]
},
"MarkRecommendationSucceeded": {
"methods": [
"mark_recommendation_succeeded"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/recommender_v1/services/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 0 additions & 2 deletions google/cloud/recommender_v1/services/recommender/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import RecommenderClient
from .async_client import RecommenderAsyncClient

Expand Down

0 comments on commit 459b0f4

Please sign in to comment.