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

Commit f769ea3

Browse files
1 parent dd91adc commit f769ea3

File tree

232 files changed

+40522
-25422
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+40522
-25422
lines changed

google-cloud-functions-bom/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@
6868
<artifactId>grpc-google-cloud-functions-v2alpha</artifactId>
6969
<version>2.3.8</version><!-- {x-version-update:grpc-google-cloud-functions-v2alpha:current} -->
7070
</dependency>
71+
<dependency>
72+
<groupId>com.google.api.grpc</groupId>
73+
<artifactId>grpc-google-cloud-functions-v2beta</artifactId>
74+
<version>2.3.8</version><!-- {x-version-update:grpc-google-cloud-functions-v2beta:current} -->
75+
</dependency>
7176
<dependency>
7277
<groupId>com.google.api.grpc</groupId>
7378
<artifactId>proto-google-cloud-functions-v1</artifactId>
@@ -78,6 +83,11 @@
7883
<artifactId>proto-google-cloud-functions-v2alpha</artifactId>
7984
<version>2.3.8</version><!-- {x-version-update:proto-google-cloud-functions-v2alpha:current} -->
8085
</dependency>
86+
<dependency>
87+
<groupId>com.google.api.grpc</groupId>
88+
<artifactId>proto-google-cloud-functions-v2beta</artifactId>
89+
<version>2.3.8</version><!-- {x-version-update:proto-google-cloud-functions-v2beta:current} -->
90+
</dependency>
8191
</dependencies>
8292
</dependencyManagement>
8393

google-cloud-functions/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
<artifactId>proto-google-common-protos</artifactId>
4343
</dependency>
4444

45+
<dependency>
46+
<groupId>com.google.api.grpc</groupId>
47+
<artifactId>proto-google-cloud-functions-v2beta</artifactId>
48+
</dependency>
4549
<dependency>
4650
<groupId>com.google.api.grpc</groupId>
4751
<artifactId>proto-google-cloud-functions-v2alpha</artifactId>
@@ -83,6 +87,11 @@
8387
<artifactId>grpc-google-cloud-functions-v1</artifactId>
8488
<scope>test</scope>
8589
</dependency>
90+
<dependency>
91+
<groupId>com.google.api.grpc</groupId>
92+
<artifactId>grpc-google-cloud-functions-v2beta</artifactId>
93+
<scope>test</scope>
94+
</dependency>
8695
<dependency>
8796
<groupId>com.google.api.grpc</groupId>
8897
<artifactId>grpc-google-cloud-functions-v2alpha</artifactId>

owl-bot-staging/v1/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceClient.java renamed to google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceClient.java

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@
6767
* methods:
6868
*
6969
* <ol>
70-
* <li> A "flattened" method. With this type of method, the fields of the request type have been
70+
* <li>A "flattened" method. With this type of method, the fields of the request type have been
7171
* converted into function parameters. It may be the case that not all fields are available as
7272
* parameters, and not every API method will have a flattened method entry point.
73-
* <li> A "request object" method. This type of method only takes one parameter, a request object,
73+
* <li>A "request object" method. This type of method only takes one parameter, a request object,
7474
* which must be constructed before the call. Not every API method will have a request object
7575
* method.
76-
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
76+
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
7777
* callable object, which can be used to initiate calls to the service.
7878
* </ol>
7979
*
@@ -897,9 +897,9 @@ public final UnaryCallable<CallFunctionRequest, CallFunctionResponse> callFuncti
897897
* <p>When uploading source code to the generated signed URL, please follow these restrictions:
898898
*
899899
* <ul>
900-
* <li> Source file type should be a zip file.
901-
* <li> Source file size should not exceed 100MB limit.
902-
* <li> No credentials should be attached - the signed URLs provide access to the target bucket
900+
* <li>Source file type should be a zip file.
901+
* <li>Source file size should not exceed 100MB limit.
902+
* <li>No credentials should be attached - the signed URLs provide access to the target bucket
903903
* using internal service identity; if credentials were attached, the identity from the
904904
* credentials would be used, but that identity does not have permissions to upload files to
905905
* the URL.
@@ -908,14 +908,14 @@ public final UnaryCallable<CallFunctionRequest, CallFunctionResponse> callFuncti
908908
* <p>When making a HTTP PUT request, these two headers need to be specified:
909909
*
910910
* <ul>
911-
* <li> `content-type: application/zip`
912-
* <li> `x-goog-content-length-range: 0,104857600`
911+
* <li>`content-type: application/zip`
912+
* <li>`x-goog-content-length-range: 0,104857600`
913913
* </ul>
914914
*
915915
* <p>And this header SHOULD NOT be specified:
916916
*
917917
* <ul>
918-
* <li> `Authorization: Bearer YOUR_TOKEN`
918+
* <li>`Authorization: Bearer YOUR_TOKEN`
919919
* </ul>
920920
*
921921
* <p>Sample code:
@@ -953,9 +953,9 @@ public final GenerateUploadUrlResponse generateUploadUrl(GenerateUploadUrlReques
953953
* <p>When uploading source code to the generated signed URL, please follow these restrictions:
954954
*
955955
* <ul>
956-
* <li> Source file type should be a zip file.
957-
* <li> Source file size should not exceed 100MB limit.
958-
* <li> No credentials should be attached - the signed URLs provide access to the target bucket
956+
* <li>Source file type should be a zip file.
957+
* <li>Source file size should not exceed 100MB limit.
958+
* <li>No credentials should be attached - the signed URLs provide access to the target bucket
959959
* using internal service identity; if credentials were attached, the identity from the
960960
* credentials would be used, but that identity does not have permissions to upload files to
961961
* the URL.
@@ -964,14 +964,14 @@ public final GenerateUploadUrlResponse generateUploadUrl(GenerateUploadUrlReques
964964
* <p>When making a HTTP PUT request, these two headers need to be specified:
965965
*
966966
* <ul>
967-
* <li> `content-type: application/zip`
968-
* <li> `x-goog-content-length-range: 0,104857600`
967+
* <li>`content-type: application/zip`
968+
* <li>`x-goog-content-length-range: 0,104857600`
969969
* </ul>
970970
*
971971
* <p>And this header SHOULD NOT be specified:
972972
*
973973
* <ul>
974-
* <li> `Authorization: Bearer YOUR_TOKEN`
974+
* <li>`Authorization: Bearer YOUR_TOKEN`
975975
* </ul>
976976
*
977977
* <p>Sample code:
@@ -1261,7 +1261,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
12611261

12621262
public static class ListFunctionsPagedResponse
12631263
extends AbstractPagedListResponse<
1264-
ListFunctionsRequest, ListFunctionsResponse, CloudFunction, ListFunctionsPage,
1264+
ListFunctionsRequest,
1265+
ListFunctionsResponse,
1266+
CloudFunction,
1267+
ListFunctionsPage,
12651268
ListFunctionsFixedSizeCollection> {
12661269

12671270
public static ApiFuture<ListFunctionsPagedResponse> createAsync(
@@ -1311,7 +1314,10 @@ public ApiFuture<ListFunctionsPage> createPageAsync(
13111314

13121315
public static class ListFunctionsFixedSizeCollection
13131316
extends AbstractFixedSizeCollection<
1314-
ListFunctionsRequest, ListFunctionsResponse, CloudFunction, ListFunctionsPage,
1317+
ListFunctionsRequest,
1318+
ListFunctionsResponse,
1319+
CloudFunction,
1320+
ListFunctionsPage,
13151321
ListFunctionsFixedSizeCollection> {
13161322

13171323
private ListFunctionsFixedSizeCollection(List<ListFunctionsPage> pages, int collectionSize) {

owl-bot-staging/v1/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceSettings.java renamed to google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceSettings.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import com.google.api.gax.rpc.ClientSettings;
2929
import com.google.api.gax.rpc.OperationCallSettings;
3030
import com.google.api.gax.rpc.PagedCallSettings;
31-
import com.google.api.gax.rpc.StubSettings;
3231
import com.google.api.gax.rpc.TransportChannelProvider;
3332
import com.google.api.gax.rpc.UnaryCallSettings;
3433
import com.google.cloud.functions.v1.stub.CloudFunctionsServiceStubSettings;
@@ -50,10 +49,10 @@
5049
* <p>The default instance has everything set to sensible defaults:
5150
*
5251
* <ul>
53-
* <li> The default service address (cloudfunctions.googleapis.com) and default port (443) are
52+
* <li>The default service address (cloudfunctions.googleapis.com) and default port (443) are
5453
* used.
55-
* <li> Credentials are acquired automatically through Application Default Credentials.
56-
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
54+
* <li>Credentials are acquired automatically through Application Default Credentials.
55+
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
5756
* </ul>
5857
*
5958
* <p>The builder of this class is recursive, so contained classes are themselves builders. When

owl-bot-staging/v1/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/gapic_metadata.json renamed to google-cloud-functions/src/main/java/com/google/cloud/functions/v1/gapic_metadata.json

File renamed without changes.

owl-bot-staging/v1/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/package-info.java renamed to google-cloud-functions/src/main/java/com/google/cloud/functions/v1/package-info.java

File renamed without changes.

owl-bot-staging/v1/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStub.java renamed to google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStub.java

File renamed without changes.

owl-bot-staging/v1/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java renamed to google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@
8181
* <p>The default instance has everything set to sensible defaults:
8282
*
8383
* <ul>
84-
* <li> The default service address (cloudfunctions.googleapis.com) and default port (443) are
84+
* <li>The default service address (cloudfunctions.googleapis.com) and default port (443) are
8585
* used.
86-
* <li> Credentials are acquired automatically through Application Default Credentials.
87-
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
86+
* <li>Credentials are acquired automatically through Application Default Credentials.
87+
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
8888
* </ul>
8989
*
9090
* <p>The builder of this class is recursive, so contained classes are themselves builders. When

owl-bot-staging/v1/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceCallableFactory.java renamed to google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceCallableFactory.java

File renamed without changes.

owl-bot-staging/v1/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceStub.java renamed to google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceStub.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
import io.grpc.MethodDescriptor;
5252
import io.grpc.protobuf.ProtoUtils;
5353
import java.io.IOException;
54-
import java.util.Map;
5554
import java.util.concurrent.TimeUnit;
5655
import javax.annotation.Generated;
5756

0 commit comments

Comments
 (0)