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

Commit 2d8723f

Browse files
chore: change docstring line breaks (via synth) (#25)
1 parent e00e6b3 commit 2d8723f

File tree

6 files changed

+32
-116
lines changed

6 files changed

+32
-116
lines changed

google/cloud/recommender_v1/proto/recommendation_pb2.py

Lines changed: 13 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,11 +1063,8 @@
10631063
{
10641064
"DESCRIPTOR": _RECOMMENDATION,
10651065
"__module__": "google.cloud.recommender_v1.proto.recommendation_pb2",
1066-
"__doc__": """A recommendation along with a suggested action. E.g., a
1067-
rightsizing recommendation for an underutilized VM, IAM role
1068-
recommendations, etc
1069-
1070-
1066+
"__doc__": """A recommendation along with a suggested action. E.g., a rightsizing
1067+
recommendation for an underutilized VM, IAM role recommendations, etc
10711068
Attributes:
10721069
name:
10731070
Name of recommendation.
@@ -1114,10 +1111,7 @@
11141111
{
11151112
"DESCRIPTOR": _RECOMMENDATIONCONTENT,
11161113
"__module__": "google.cloud.recommender_v1.proto.recommendation_pb2",
1117-
"__doc__": """Contains what resources are changing and how they are
1118-
changing.
1119-
1120-
1114+
"__doc__": """Contains what resources are changing and how they are changing.
11211115
Attributes:
11221116
operation_groups:
11231117
Operations to one or more Google Cloud resources grouped in
@@ -1136,8 +1130,6 @@
11361130
"DESCRIPTOR": _OPERATIONGROUP,
11371131
"__module__": "google.cloud.recommender_v1.proto.recommendation_pb2",
11381132
"__doc__": """Group of operations that need to be performed atomically.
1139-
1140-
11411133
Attributes:
11421134
operations:
11431135
List of operations across one or more resources that belong to
@@ -1173,18 +1165,13 @@
11731165
),
11741166
"DESCRIPTOR": _OPERATION,
11751167
"__module__": "google.cloud.recommender_v1.proto.recommendation_pb2",
1176-
"__doc__": """Contains an operation for a resource loosely based on the
1177-
JSON-PATCH format with support for:
1178-
1179-
- Custom filters for describing partial array patch.
1180-
- Extended path values for describing nested arrays.
1181-
- Custom fields for describing the resource for which the operation is
1182-
being described.
1183-
- Allows extension to custom operations not natively supported by
1184-
RFC6902. See https://tools.ietf.org/html/rfc6902 for details on the
1185-
original RFC.
1186-
1187-
1168+
"__doc__": """Contains an operation for a resource loosely based on the JSON-PATCH
1169+
format with support for: - Custom filters for describing partial
1170+
array patch. - Extended path values for describing nested arrays. -
1171+
Custom fields for describing the resource for which the operation is
1172+
being described. - Allows extension to custom operations not natively
1173+
supported by RFC6902. See https://tools.ietf.org/html/rfc6902 for
1174+
details on the original RFC.
11881175
Attributes:
11891176
action:
11901177
Type of this operation. Contains one of ‘and’, ‘remove’,
@@ -1258,10 +1245,7 @@
12581245
{
12591246
"DESCRIPTOR": _VALUEMATCHER,
12601247
"__module__": "google.cloud.recommender_v1.proto.recommendation_pb2",
1261-
"__doc__": """Contains various matching options for values for a GCP
1262-
resource field.
1263-
1264-
1248+
"__doc__": """Contains various matching options for values for a GCP resource field.
12651249
Attributes:
12661250
matches_pattern:
12671251
To be used for full regex matching. The regular expression is
@@ -1282,8 +1266,7 @@
12821266
"__module__": "google.cloud.recommender_v1.proto.recommendation_pb2",
12831267
"__doc__": """Contains metadata about how much money a recommendation can save or
12841268
incur.
1285-
1286-
1269+
12871270
Attributes:
12881271
cost:
12891272
An approximate projection on amount saved or amount incurred.
@@ -1304,10 +1287,7 @@
13041287
{
13051288
"DESCRIPTOR": _IMPACT,
13061289
"__module__": "google.cloud.recommender_v1.proto.recommendation_pb2",
1307-
"__doc__": """Contains the impact a recommendation can have for a given
1308-
category.
1309-
1310-
1290+
"__doc__": """Contains the impact a recommendation can have for a given category.
13111291
Attributes:
13121292
category:
13131293
Category that is being targeted.
@@ -1337,8 +1317,6 @@
13371317
"DESCRIPTOR": _RECOMMENDATIONSTATEINFO,
13381318
"__module__": "google.cloud.recommender_v1.proto.recommendation_pb2",
13391319
"__doc__": """Information for state. Contains state and metadata.
1340-
1341-
13421320
Attributes:
13431321
state:
13441322
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.

google/cloud/recommender_v1/proto/recommender_service_pb2.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -681,8 +681,6 @@
681681
"DESCRIPTOR": _LISTRECOMMENDATIONSREQUEST,
682682
"__module__": "google.cloud.recommender_v1.proto.recommender_service_pb2",
683683
"__doc__": """Request for the ``ListRecommendations`` method.
684-
685-
686684
Attributes:
687685
parent:
688686
Required. The container resource on which to execute the
@@ -717,8 +715,6 @@
717715
"DESCRIPTOR": _LISTRECOMMENDATIONSRESPONSE,
718716
"__module__": "google.cloud.recommender_v1.proto.recommender_service_pb2",
719717
"__doc__": """Response to the ``ListRecommendations`` method.
720-
721-
722718
Attributes:
723719
recommendations:
724720
The set of recommendations for the ``parent`` resource.
@@ -738,8 +734,6 @@
738734
"DESCRIPTOR": _GETRECOMMENDATIONREQUEST,
739735
"__module__": "google.cloud.recommender_v1.proto.recommender_service_pb2",
740736
"__doc__": """Request to the ``GetRecommendation`` method.
741-
742-
743737
Attributes:
744738
name:
745739
Required. Name of the recommendation.
@@ -765,8 +759,6 @@
765759
"DESCRIPTOR": _MARKRECOMMENDATIONCLAIMEDREQUEST,
766760
"__module__": "google.cloud.recommender_v1.proto.recommender_service_pb2",
767761
"__doc__": """Request for the ``MarkRecommendationClaimed`` Method.
768-
769-
770762
Attributes:
771763
name:
772764
Required. Name of the recommendation.
@@ -801,8 +793,6 @@
801793
"DESCRIPTOR": _MARKRECOMMENDATIONSUCCEEDEDREQUEST,
802794
"__module__": "google.cloud.recommender_v1.proto.recommender_service_pb2",
803795
"__doc__": """Request for the ``MarkRecommendationSucceeded`` Method.
804-
805-
806796
Attributes:
807797
name:
808798
Required. Name of the recommendation.
@@ -838,8 +828,6 @@
838828
"DESCRIPTOR": _MARKRECOMMENDATIONFAILEDREQUEST,
839829
"__module__": "google.cloud.recommender_v1.proto.recommender_service_pb2",
840830
"__doc__": """Request for the ``MarkRecommendationFailed`` Method.
841-
842-
843831
Attributes:
844832
name:
845833
Required. Name of the recommendation.

google/cloud/recommender_v1beta1/proto/insight_pb2.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,6 @@
518518
"DESCRIPTOR": _INSIGHT_RECOMMENDATIONREFERENCE,
519519
"__module__": "google.cloud.recommender_v1beta1.proto.insight_pb2",
520520
"__doc__": """Reference to an associated recommendation.
521-
522-
523521
Attributes:
524522
recommendation:
525523
Recommendation resource name, e.g. projects/[PROJECT_NUMBER]/l
@@ -533,8 +531,7 @@
533531
"__module__": "google.cloud.recommender_v1beta1.proto.insight_pb2",
534532
"__doc__": """An insight along with the information used to derive the insight. The
535533
insight may have associated recomendations as well.
536-
537-
534+
538535
Attributes:
539536
name:
540537
Name of the insight.
@@ -587,8 +584,6 @@
587584
"DESCRIPTOR": _INSIGHTSTATEINFO,
588585
"__module__": "google.cloud.recommender_v1beta1.proto.insight_pb2",
589586
"__doc__": """Information related to insight state.
590-
591-
592587
Attributes:
593588
state:
594589
Insight state.

google/cloud/recommender_v1beta1/proto/recommendation_pb2.py

Lines changed: 14 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,8 +1128,6 @@
11281128
"DESCRIPTOR": _RECOMMENDATION_INSIGHTREFERENCE,
11291129
"__module__": "google.cloud.recommender_v1beta1.proto.recommendation_pb2",
11301130
"__doc__": """Reference to an associated insight.
1131-
1132-
11331131
Attributes:
11341132
insight:
11351133
Insight resource name, e.g. ``projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]``
@@ -1139,11 +1137,8 @@
11391137
),
11401138
"DESCRIPTOR": _RECOMMENDATION,
11411139
"__module__": "google.cloud.recommender_v1beta1.proto.recommendation_pb2",
1142-
"__doc__": """A recommendation along with a suggested action. E.g., a
1143-
rightsizing recommendation for an underutilized VM, IAM role
1144-
recommendations, etc
1145-
1146-
1140+
"__doc__": """A recommendation along with a suggested action. E.g., a rightsizing
1141+
recommendation for an underutilized VM, IAM role recommendations, etc
11471142
Attributes:
11481143
name:
11491144
Name of recommendation.
@@ -1193,10 +1188,7 @@
11931188
{
11941189
"DESCRIPTOR": _RECOMMENDATIONCONTENT,
11951190
"__module__": "google.cloud.recommender_v1beta1.proto.recommendation_pb2",
1196-
"__doc__": """Contains what resources are changing and how they are
1197-
changing.
1198-
1199-
1191+
"__doc__": """Contains what resources are changing and how they are changing.
12001192
Attributes:
12011193
operation_groups:
12021194
Operations to one or more Google Cloud resources grouped in
@@ -1215,8 +1207,6 @@
12151207
"DESCRIPTOR": _OPERATIONGROUP,
12161208
"__module__": "google.cloud.recommender_v1beta1.proto.recommendation_pb2",
12171209
"__doc__": """Group of operations that need to be performed atomically.
1218-
1219-
12201210
Attributes:
12211211
operations:
12221212
List of operations across one or more resources that belong to
@@ -1252,18 +1242,13 @@
12521242
),
12531243
"DESCRIPTOR": _OPERATION,
12541244
"__module__": "google.cloud.recommender_v1beta1.proto.recommendation_pb2",
1255-
"__doc__": """Contains an operation for a resource loosely based on the
1256-
JSON-PATCH format with support for:
1257-
1258-
- Custom filters for describing partial array patch.
1259-
- Extended path values for describing nested arrays.
1260-
- Custom fields for describing the resource for which the operation is
1261-
being described.
1262-
- Allows extension to custom operations not natively supported by
1263-
RFC6902. See https://tools.ietf.org/html/rfc6902 for details on the
1264-
original RFC.
1265-
1266-
1245+
"__doc__": """Contains an operation for a resource loosely based on the JSON-PATCH
1246+
format with support for: - Custom filters for describing partial
1247+
array patch. - Extended path values for describing nested arrays. -
1248+
Custom fields for describing the resource for which the operation is
1249+
being described. - Allows extension to custom operations not natively
1250+
supported by RFC6902. See https://tools.ietf.org/html/rfc6902 for
1251+
details on the original RFC.
12671252
Attributes:
12681253
action:
12691254
Type of this operation. Contains one of ‘and’, ‘remove’,
@@ -1337,10 +1322,7 @@
13371322
{
13381323
"DESCRIPTOR": _VALUEMATCHER,
13391324
"__module__": "google.cloud.recommender_v1beta1.proto.recommendation_pb2",
1340-
"__doc__": """Contains various matching options for values for a GCP
1341-
resource field.
1342-
1343-
1325+
"__doc__": """Contains various matching options for values for a GCP resource field.
13441326
Attributes:
13451327
matches_pattern:
13461328
To be used for full regex matching. The regular expression is
@@ -1359,10 +1341,8 @@
13591341
{
13601342
"DESCRIPTOR": _COSTPROJECTION,
13611343
"__module__": "google.cloud.recommender_v1beta1.proto.recommendation_pb2",
1362-
"__doc__": """Contains metadata about how much money a recommendation
1363-
can save or incur.
1364-
1365-
1344+
"__doc__": """Contains metadata about how much money a recommendation can save or
1345+
incur.
13661346
Attributes:
13671347
cost:
13681348
An approximate projection on amount saved or amount incurred.
@@ -1383,10 +1363,7 @@
13831363
{
13841364
"DESCRIPTOR": _IMPACT,
13851365
"__module__": "google.cloud.recommender_v1beta1.proto.recommendation_pb2",
1386-
"__doc__": """Contains the impact a recommendation can have for a given
1387-
category.
1388-
1389-
1366+
"__doc__": """Contains the impact a recommendation can have for a given category.
13901367
Attributes:
13911368
category:
13921369
Category that is being targeted.
@@ -1416,8 +1393,6 @@
14161393
"DESCRIPTOR": _RECOMMENDATIONSTATEINFO,
14171394
"__module__": "google.cloud.recommender_v1beta1.proto.recommendation_pb2",
14181395
"__doc__": """Information for state. Contains state and metadata.
1419-
1420-
14211396
Attributes:
14221397
state:
14231398
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.

0 commit comments

Comments
 (0)