Skip to content

Commit

Permalink
feat: increase timeout of RPC methods to 20s for v2
Browse files Browse the repository at this point in the history
feat: add YAML config for GetLocation and ListLocation for v2
feat: add UploadQueueYaml, BufferTask RPC method for CloudTasks service for v2beta2
feat: set deadline for GetLocation, ListLocations and UploadQueueYaml RPCs for v2beta2
feat: add BufferTask RPC method for CloudTasks service for v2beta3
feat: add YAML config for GetLocation and ListLocations for v2beta3

PiperOrigin-RevId: 5487385
  • Loading branch information
Google APIs authored and Copybara-Service committed Jul 17, 2023
1 parent 0bd6d87 commit 4d98ffc
Show file tree
Hide file tree
Showing 22 changed files with 1,203 additions and 300 deletions.
32 changes: 27 additions & 5 deletions google/cloud/tasks/v2/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# This file was automatically generated by BuildFileGenerator
# https://github.com/googleapis/rules_gapic/tree/master/bazel

# Most of the manual changes to this file will be overwritten.
# It's **only** allowed to change the following rule attribute values:
# - names of *_gapic_assembly_* rules
# - certain parameters of *_gapic_library rules, including but not limited to:
# * extra_protoc_parameters
# * extra_protoc_file_parameters
# The complete list of preserved parameters can be found in the source code.

# This is an API workspace, having public visibility by default makes perfect sense.
package(default_visibility = ["//visibility:public"])
Expand Down Expand Up @@ -37,6 +46,7 @@ proto_library_with_info(
deps = [
":tasks_proto",
"//google/cloud:common_resources_proto",
"//google/cloud/location:location_proto",
],
)

Expand Down Expand Up @@ -66,16 +76,20 @@ java_grpc_library(
java_gapic_library(
name = "tasks_java_gapic",
srcs = [":tasks_proto_with_info"],
gapic_yaml = None,
grpc_service_config = "cloudtasks_grpc_service_config.json",
rest_numeric_enums = True,
service_yaml = "cloudtasks_v2.yaml",
test_deps = [
":tasks_java_grpc",
"//google/cloud/location:location_java_grpc",
"//google/iam/v1:iam_java_grpc",
":tasks_java_grpc",
],
transport = "grpc+rest",
deps = [
":tasks_java_proto",
"//google/api:api_java_proto",
"//google/cloud/location:location_java_proto",
"//google/iam/v1:iam_java_proto",
],
)
Expand Down Expand Up @@ -129,13 +143,16 @@ go_gapic_library(
srcs = [":tasks_proto_with_info"],
grpc_service_config = "cloudtasks_grpc_service_config.json",
importpath = "cloud.google.com/go/cloudtasks/apiv2;cloudtasks",
metadata = True,
release_level = "ga",
rest_numeric_enums = True,
service_yaml = "cloudtasks_v2.yaml",
transport = "grpc+rest",
deps = [
":tasks_go_proto",
"//google/cloud/location:location_go_proto",
"//google/iam/v1:iam_go_proto",
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
],
)

Expand All @@ -144,6 +161,7 @@ go_gapic_assembly_pkg(
name = "gapi-cloud-tasks-v2-go",
deps = [
":tasks_go_gapic",
":tasks_go_gapic_srcjar-metadata.srcjar",
":tasks_go_gapic_srcjar-snippets.srcjar",
":tasks_go_gapic_srcjar-test.srcjar",
":tasks_go_proto",
Expand Down Expand Up @@ -182,6 +200,7 @@ py_test(
deps = [":tasks_py_gapic"],
)

# Open Source Packages
py_gapic_assembly_pkg(
name = "tasks-v2-py",
deps = [
Expand Down Expand Up @@ -212,7 +231,9 @@ php_gapic_library(
rest_numeric_enums = True,
service_yaml = "cloudtasks_v2.yaml",
transport = "grpc+rest",
deps = [":tasks_php_proto"],
deps = [
":tasks_php_proto",
],
)

# Open Source Packages
Expand Down Expand Up @@ -281,11 +302,11 @@ ruby_cloud_gapic_library(
name = "tasks_ruby_gapic",
srcs = [":tasks_proto_with_info"],
extra_protoc_parameters = [
"ruby-cloud-gem-name=google-cloud-tasks-v2",
"ruby-cloud-env-prefix=TASKS",
"ruby-cloud-product-url=https://cloud.google.com/tasks",
"ruby-cloud-api-id=cloudtasks.googleapis.com",
"ruby-cloud-api-shortname=cloudtasks",
"ruby-cloud-env-prefix=TASKS",
"ruby-cloud-gem-name=google-cloud-tasks-v2",
"ruby-cloud-product-url=https://cloud.google.com/tasks",
],
grpc_service_config = "cloudtasks_grpc_service_config.json",
rest_numeric_enums = True,
Expand Down Expand Up @@ -322,6 +343,7 @@ load(

csharp_proto_library(
name = "tasks_csharp_proto",
extra_opts = [],
deps = [":tasks_proto"],
)

Expand Down

0 comments on commit 4d98ffc

Please sign in to comment.