You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1/RecommenderClient.java
+94-6Lines changed: 94 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1200,6 +1200,82 @@ public final UnaryCallable<GetRecommendationRequest, Recommendation> getRecommen
1200
1200
returnstub.getRecommendationCallable();
1201
1201
}
1202
1202
1203
+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
1204
+
/**
1205
+
* Mark the Recommendation State as Dismissed. Users can use this method to indicate to the
1206
+
* Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED.
1207
+
*
1208
+
* <p>MarkRecommendationDismissed can be applied to recommendations in ACTIVE state.
1209
+
*
1210
+
* <p>Requires the recommender.*.update IAM permission for the specified recommender.
1211
+
*
1212
+
* <p>Sample code:
1213
+
*
1214
+
* <pre>{@code
1215
+
* // This snippet has been automatically generated and should be regarded as a code template only.
1216
+
* // It will require modifications to work:
1217
+
* // - It may require correct/in-range values for request initialization.
1218
+
* // - It may require specifying regional endpoints when creating the service client as shown in
Copy file name to clipboardExpand all lines: java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1/RecommenderSettings.java
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,12 @@ public UnaryCallSettings<GetRecommendationRequest, Recommendation> getRecommenda
Copy file name to clipboardExpand all lines: java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1/gapic_metadata.json
Copy file name to clipboardExpand all lines: java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1/stub/GrpcRecommenderStub.java
0 commit comments