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

chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-java to 2.16.0 #409

Merged
merged 6 commits into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore(bazel): update version of Protobuf to v3.20.1
PiperOrigin-RevId: 444328399

Source-Link: googleapis/googleapis@c7ca416

Source-Link: https://github.com/googleapis/googleapis-gen/commit/d61705453a62b3ecda78aa30c192840ebc5a8a90
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDYxNzA1NDUzYTYyYjNlY2RhNzhhYTMwYzE5Mjg0MGViYzVhOGE5MCJ9
  • Loading branch information
gcf-owl-bot[bot] committed Apr 26, 2022
commit 6d9975d85fd4c2579041823a6997813c928f497c
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@
* methods:
*
* <ol>
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* <li> A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* <li> A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down Expand Up @@ -845,9 +845,9 @@ public final UnaryCallable<CallFunctionRequest, CallFunctionResponse> callFuncti
* <p>When uploading source code to the generated signed URL, please follow these restrictions:
*
* <ul>
* <li>Source file type should be a zip file.
* <li>Source file size should not exceed 100MB limit.
* <li>No credentials should be attached - the signed URLs provide access to the target bucket
* <li> Source file type should be a zip file.
* <li> Source file size should not exceed 100MB limit.
* <li> No credentials should be attached - the signed URLs provide access to the target bucket
* using internal service identity; if credentials were attached, the identity from the
* credentials would be used, but that identity does not have permissions to upload files to
* the URL.
Expand All @@ -856,14 +856,14 @@ public final UnaryCallable<CallFunctionRequest, CallFunctionResponse> callFuncti
* <p>When making a HTTP PUT request, these two headers need to be specified:
*
* <ul>
* <li>`content-type: application/zip`
* <li>`x-goog-content-length-range: 0,104857600`
* <li> `content-type: application/zip`
* <li> `x-goog-content-length-range: 0,104857600`
* </ul>
*
* <p>And this header SHOULD NOT be specified:
*
* <ul>
* <li>`Authorization: Bearer YOUR_TOKEN`
* <li> `Authorization: Bearer YOUR_TOKEN`
* </ul>
*
* <p>Sample code:
Expand Down Expand Up @@ -894,9 +894,9 @@ public final GenerateUploadUrlResponse generateUploadUrl(GenerateUploadUrlReques
* <p>When uploading source code to the generated signed URL, please follow these restrictions:
*
* <ul>
* <li>Source file type should be a zip file.
* <li>Source file size should not exceed 100MB limit.
* <li>No credentials should be attached - the signed URLs provide access to the target bucket
* <li> Source file type should be a zip file.
* <li> Source file size should not exceed 100MB limit.
* <li> No credentials should be attached - the signed URLs provide access to the target bucket
* using internal service identity; if credentials were attached, the identity from the
* credentials would be used, but that identity does not have permissions to upload files to
* the URL.
Expand All @@ -905,14 +905,14 @@ public final GenerateUploadUrlResponse generateUploadUrl(GenerateUploadUrlReques
* <p>When making a HTTP PUT request, these two headers need to be specified:
*
* <ul>
* <li>`content-type: application/zip`
* <li>`x-goog-content-length-range: 0,104857600`
* <li> `content-type: application/zip`
* <li> `x-goog-content-length-range: 0,104857600`
* </ul>
*
* <p>And this header SHOULD NOT be specified:
*
* <ul>
* <li>`Authorization: Bearer YOUR_TOKEN`
* <li> `Authorization: Bearer YOUR_TOKEN`
* </ul>
*
* <p>Sample code:
Expand Down Expand Up @@ -1179,10 +1179,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListFunctionsPagedResponse
extends AbstractPagedListResponse<
ListFunctionsRequest,
ListFunctionsResponse,
CloudFunction,
ListFunctionsPage,
ListFunctionsRequest, ListFunctionsResponse, CloudFunction, ListFunctionsPage,
ListFunctionsFixedSizeCollection> {

public static ApiFuture<ListFunctionsPagedResponse> createAsync(
Expand Down Expand Up @@ -1232,10 +1229,7 @@ public ApiFuture<ListFunctionsPage> createPageAsync(

public static class ListFunctionsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListFunctionsRequest,
ListFunctionsResponse,
CloudFunction,
ListFunctionsPage,
ListFunctionsRequest, ListFunctionsResponse, CloudFunction, ListFunctionsPage,
ListFunctionsFixedSizeCollection> {

private ListFunctionsFixedSizeCollection(List<ListFunctionsPage> pages, int collectionSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.functions.v1.stub.CloudFunctionsServiceStubSettings;
Expand All @@ -49,10 +50,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (cloudfunctions.googleapis.com) and default port (443) are
* <li> The default service address (cloudfunctions.googleapis.com) and default port (443) are
* used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (cloudfunctions.googleapis.com) and default port (443) are
* <li> The default service address (cloudfunctions.googleapis.com) and default port (443) are
* used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Loading